Hi all,
I need to change the letter spacing of the text I have entered in QLabel in Qt Designer. I tried using the 'letter-spacing:2px' in CSS of QLabel but it doesn't change anything. Any idea how to do this ?
-Charvi.
Printable View
Hi all,
I need to change the letter spacing of the text I have entered in QLabel in Qt Designer. I tried using the 'letter-spacing:2px' in CSS of QLabel but it doesn't change anything. Any idea how to do this ?
-Charvi.
I don't know what version of Qt you are using but I can't find this property in Qt's (4.7, 4.8) doc and it results in erros (Qt 4.7) if try to use it. You can probably use QFont::setLetterSpacing and QWidget::setFont if you are not forced to use stylesheets.
Hi ashkan_s, thanks for your answer.
Need to do it through style sheets. any ideas ?