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.

NEUTS Jean-Luc

1 comment

#1  - Domingo said :

Does this project have a public source code repository ?

Reply

Write a comment

What is the fourth letter of the word uzavkl?

Rss feed of the article's comments