Results 1 to 4 of 4

Thread: which version of Qt supports alignJustify ?

  1. #1
    Join Date
    Feb 2014
    Posts
    1
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default which version of Qt supports alignJustify ?

    currently I am using Qt5 But Qt::AlignJustify is not working .I read that only in some cases it will work .I want to know which all cases it will work.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: which version of Qt supports alignJustify ?

    I think that flag exists since Qt3, maybe even longer.

    You will need to provide more context than "is not working"

    Cheers,
    _

  3. #3
    Join Date
    Mar 2014
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default Re: which version of Qt supports alignJustify ?

    In Qt5.2.1 (maybe Qt5+), Qt::AlignJustify for QPainter::drawText() is not working.
    In addition, Qt::AlignJustify for QWidget's text-alignment on UI Desiner(@QtCreator) is not working.

  4. #4
    Join Date
    Mar 2014
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default Re: which version of Qt supports alignJustify ?

    I did not understand...
    If string have only one line, must set align to 'Qt::TextJustificationForced | Qt::AlignJustify'.
    It is working!

Similar Threads

  1. Qt supports which Linux?
    By gib in forum Installation and Deployment
    Replies: 4
    Last Post: 26th September 2010, 15:26
  2. Qt QDataStream supports data types
    By LoginFailed in forum Qt Programming
    Replies: 2
    Last Post: 30th December 2009, 09:41
  3. ide which supports debugging qt4.3.3 in windows
    By sakthi in forum Qt-based Software
    Replies: 2
    Last Post: 28th January 2008, 13:36

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.