Unsolved QAbstractButton RightToLeft text behavior
-
Hi everyone, i'm using Qt 5.4.0, and i'm surprised by a behavior.
here's a simple code:
qApp->setLayoutDirection(Qt::RightToLeft);
ui->label->setText(tr("-20"));
ui->pushButton->setText(tr("-20"));And here is the display result:
-
label: -20
-
pushButton: 20-
Does anyone knows something about this special abstractButton setText behavior?
(my wish is to obtain the label behavior)
-
-
Thank you for the hint. I filed a bugreport, QTBUG-59807.