Results 1 to 2 of 2

Thread: Qmenu and Right to Left mode (text direction)

  1. #1
    Join Date
    Jun 2015
    Qt products
    Windows Android

    Unhappy Qmenu and Right to Left mode (text direction)

    when i change design to (right to left) the qmenu text must start from right (arabic)

    css not work {text-align: right}

    any fix

  2. #2
    Join Date
    Mar 2011
    Hyderabad, India
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    MacOS X Unix/X11 Windows
    Wiki edits

    Default Re: Qmenu and Right to Left mode (text direction)

    Qt Code:
    1. menubar->setLayoutDirection(Qt::RightToLeft);
    To copy to clipboard, switch view to plain text mode 
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

Similar Threads

  1. Vertical QProgressBar Text Direction
    By Pyral in forum Newbie
    Replies: 7
    Last Post: 22nd January 2016, 21:36
  2. Replies: 1
    Last Post: 11th March 2014, 12:20
  3. Replies: 0
    Last Post: 24th August 2013, 11:57
  4. left alignment for pushbutton text
    By BalaQT in forum Qt Programming
    Replies: 7
    Last Post: 22nd September 2009, 09:41
  5. Replies: 2
    Last Post: 30th December 2008, 22:35

Tags for this Thread


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.