Results 1 to 2 of 2

Thread: QwtLegend obscured by "as needed" horizontal scrollbar

Threaded View

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

    Default Re: QwtLegend obscured by "as needed" horizontal scrollbar

    Qt Code:
    1. QScrollArea *scrollArea = legend->findChild<QScrollArea *>();
    2. scrollArea->setHorizontalScrollBarPolicy( Qt::ScrollBarAlwaysOff );
    To copy to clipboard, switch view to plain text mode 
    Uwe

  2. The following user says thank you to Uwe for this useful post:

    philw (2nd December 2016)

Similar Threads

  1. Replies: 1
    Last Post: 20th November 2015, 10:02
  2. Replies: 3
    Last Post: 16th March 2015, 07:31
  3. Replies: 4
    Last Post: 16th October 2009, 09:19
  4. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05
  5. How to make "west" tabs horizontal?
    By plumbum in forum Qt Programming
    Replies: 2
    Last Post: 7th June 2007, 10:32

Tags for this Thread

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.