Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font awesome #40

Open
vnavarrou opened this issue Jun 2, 2021 · 1 comment
Open

Font awesome #40

vnavarrou opened this issue Jun 2, 2021 · 1 comment

Comments

@vnavarrou
Copy link

First: This plugin is awesome!
Second: This is not an issue at all, but I can't find any discussion about using a Font Awesome icon instead of string text in a button. ¿How could I include a button with an icon?

Thank you @shiv19 for your support.

@shiv19
Copy link
Owner

shiv19 commented Jun 2, 2021

Hi @vnavarrou
unfortunately the library used by this plugin does not support changing font family
Codigami/CFAlertDialog#15 (comment)

The font family is baked into the code here
https://github.com/Codigami/CFAlertDialog/blob/24af2ac48ccddee8443a7ac59866231680111c4b/cfalertdialogdemo/src/main/res/layout/dialog_footer_layout.xml#L82

if the lib can by modified to support different fonts, this would be possible.

For all other dialog needs where I want custom fonts in the dialog, I would create a dialog with plain nativescript layouts instead of using this plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants