Results 1 to 6 of 6

Thread: multiline drawtext draw all in same line

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2013
    Posts
    4

    Default multiline drawtext draw all in same line

    hi,

    i will draw a multiline text with alignment AlignBottom, but it draw all lines in same line.

    fontAlign = Qt::AlignHCenter | Qt::AlignBottom;
    p->drawText(rect, fontAlign, str);

    see attachment

    what can I do, thanks

    Peter
    Attached Images Attached Images

Similar Threads

  1. Replies: 3
    Last Post: 5th February 2011, 07:31
  2. Draw Line
    By sagirahmed in forum Newbie
    Replies: 5
    Last Post: 18th October 2010, 07:49
  3. QPainter::drawText, draw big text
    By franco.amato in forum Newbie
    Replies: 3
    Last Post: 18th March 2010, 08:32
  4. Draw a line
    By Daan in forum KDE Forum
    Replies: 1
    Last Post: 27th August 2009, 17:29
  5. Best way to draw a Line
    By JimDaniel in forum Qt Programming
    Replies: 1
    Last Post: 19th January 2008, 09:57

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
  •  
Qt is a trademark of The Qt Company.