LUA: Changing the font style of a label's characters
To change the font style of a label:
- Put bold
- self.setProperty ( 'Label1.font.style', '[fsBold]')
- Bold and italic
- self.setProperty ( 'Label1.font.style', '[fsBold, fsItalic]')
- Put in normal
- self.setProperty ( 'Label1.font.style', '[]')
You will find all the values in the visual editor of the properties.
1 comment
Write a comment
Rss feed of the article's comments