I have a problem with QToolButton and text alignement.
I want to align left the text, but not works.
I tryed, as reported in other forum :
<i>QToolButton *button = new QToolButton;
QString style = QString("QToolButton{text-align:left;}");
button->setStyleSheet(style);</i>
or
<i>QToolButton *button = new QToolButton;
QString style = QString("text-align:left;");
button->setStyleSheet(style);</i>
but always center aligned.
Can anyone help me?
Thanks!