nativescript-cfalert-dialog icon indicating copy to clipboard operation
nativescript-cfalert-dialog copied to clipboard

Font awesome

Open vnavarrou opened this issue 4 years ago • 1 comments

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.

vnavarrou avatar Jun 02 '21 00:06 vnavarrou

Hi @vnavarrou unfortunately the library used by this plugin does not support changing font family https://github.com/Codigami/CFAlertDialog/issues/15#issuecomment-403376553

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.

shiv19 avatar Jun 02 '21 01:06 shiv19