2 Attachment(s)
Push Button not displaying text with icon when its layout is set to Qt::RightToLeft
Hi all,
I have a push button which has a text and an icon.
The push button is displayed correctly (text with icon) until I change the layout direction using:
Code:
ui->pb_click->setLayoutDirection(Qt::RightToLeft);
Once I do that, the button icon is displayed, but no text is displayed.
I've attached the images which show this issue.
Any help would be appreciated.
Re: Push Button not displaying text with icon when its layout is set to Qt::RightToLe
Forgot to mention that I'm using Qt SDK 1.1.2 64 bit for Linux. I am using Ubuntu 10.04 distribution.
Any help would be highly appreciated !