Results 1 to 2 of 2

Thread: QwtScaleWidget title wrap problem

  1. #1
    Join Date
    Sep 2011
    Posts
    1
    Qt products
    Qt3
    Platforms
    MacOS X

    Default QwtScaleWidget title wrap problem

    Hello!

    I have a problem with QwtPlot's axis title text wrapping: text is truncated as if part of it is moved to the next line (as seen on the screenshot). Most times text is wrapped normally, first part on the one line, second on another, but in some circumstances (text is a little bit longer than single line with no wrap) this problem occurs. The title has (Qt::TextWordWrap | Qt::AlignCenter) rendering flags.
    Qt4, Ubuntu and CentOS, Qwt 5.2
    Any indeas why is this happening?

    Thanks!
    Attached Images Attached Images

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QwtScaleWidget title wrap problem

    Quote Originally Posted by Arcadi View Post
    I have a problem with QwtPlot's axis title text wrapping: text is truncated as if part of it is moved to the next line (as seen on the screenshot).
    Hm, I can't see anything on this screenshot.

    If you want me to check this you have to post a small demo ( f.e modifiying the simple_plot example ) that shows the problem - of course with Qwt 5.2.2.

    Uwe

Similar Threads

  1. Replies: 1
    Last Post: 19th July 2011, 08:32
  2. QDockWidget move problem when using custom title widget
    By alexi_nedo in forum Qt Programming
    Replies: 2
    Last Post: 13th September 2010, 14:25
  3. Qwt Plot title word wrap
    By giusepped in forum Qwt
    Replies: 1
    Last Post: 27th June 2010, 15:06
  4. Replies: 1
    Last Post: 26th October 2008, 19:39
  5. qwtscalewidget: setting scale to the widget..
    By halberdier83 in forum Qwt
    Replies: 3
    Last Post: 4th December 2007, 09:08

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.