asales Expert Licensed User Longtime User Mar 11, 2015 #1 I found this font (using by FancyButton library): http://fortawesome.github.io/Font-Awesome/cheatsheet/ and I tried to use the icons in a text of a button, but don't work. Is possible to use this font in a button? Thanks in advance for any tip.
I found this font (using by FancyButton library): http://fortawesome.github.io/Font-Awesome/cheatsheet/ and I tried to use the icons in a text of a button, but don't work. Is possible to use this font in a button? Thanks in advance for any tip.
Gary Milne Active Member Licensed User Longtime User May 15, 2015 #2 You can use it in a label so you should be able to use it in anything that supports .Typeface, such as a button. B4X: 'Font Awesome Font Dim FontAwesome As Typeface FontAwesome = Typeface.LoadFromAssets("fontawesome-webfont.ttf") lblVersion.Typeface = FontAwesome 'This works lblVersion.Text = Chr(0xf061) lblVersion.TextSize = 24 lblVersion.TextColor = Colors.Yellow Upvote 0
You can use it in a label so you should be able to use it in anything that supports .Typeface, such as a button. B4X: 'Font Awesome Font Dim FontAwesome As Typeface FontAwesome = Typeface.LoadFromAssets("fontawesome-webfont.ttf") lblVersion.Typeface = FontAwesome 'This works lblVersion.Text = Chr(0xf061) lblVersion.TextSize = 24 lblVersion.TextColor = Colors.Yellow
DonManfred Expert Licensed User Longtime User May 15, 2015 #3 See my lib iconbutton. It uses fontawesome Too Vor was it just the fancybutton? ;-) Upvote 0