Results 1 to 2 of 2

Thread: Push Button not displaying text with icon when its layout is set to Qt::RightToLeft

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2010
    Posts
    16
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default 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:
    Qt Code:
    1. ui->pb_click->setLayoutDirection(Qt::RightToLeft);
    To copy to clipboard, switch view to plain text mode 
    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.
    Attached Images Attached Images

Similar Threads

  1. Replies: 1
    Last Post: 4th May 2011, 08:49
  2. push button icon not shows???
    By chandantheracer in forum Newbie
    Replies: 2
    Last Post: 25th February 2011, 12:08
  3. Replies: 2
    Last Post: 15th July 2009, 15:53
  4. How to change text color of push button?
    By augusbas in forum Qt Programming
    Replies: 2
    Last Post: 3rd July 2009, 10:32
  5. problem in Displaying image on push button
    By durgarao in forum Qt Tools
    Replies: 4
    Last Post: 2nd January 2009, 10:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.