Important: Please read the Qt Code of Conduct -

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:

    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.

Log in to reply