E elriba Member Licensed User Longtime User Feb 12, 2018 #1 Hi, How do I change a Label's text to use BOLD, or ITALIC, or BOLD+ITALIC? The Label was created under code (not the designer). There are no "Style" property for Labels. On a similar line, could you guys recommend some tutorial or resource to learn about typefaces under B4A and android? Thanks, Edgard
Hi, How do I change a Label's text to use BOLD, or ITALIC, or BOLD+ITALIC? The Label was created under code (not the designer). There are no "Style" property for Labels. On a similar line, could you guys recommend some tutorial or resource to learn about typefaces under B4A and android? Thanks, Edgard
asales Expert Licensed User Longtime User Feb 12, 2018 #2 B4X: Label.Typeface = Typeface.DEFAULT_BOLD https://www.b4x.com/android/help/constants.html#typeface Upvote 0
XbNnX_507 Active Member Licensed User Longtime User Feb 12, 2018 #3 B4X: Label.Typeface = Typeface.CreateNew( Typeface.DEFAULT, Typeface.STYLE_BOLD_ITALIC) Upvote 0