Results 1 to 2 of 2

Thread: [solved] Horizontal scrollbar isn't show up.

  1. #1
    Join Date
    Jun 2010
    Posts
    2
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default [solved] Horizontal scrollbar isn't show up.

    In PyQt4 application I use QGraphicsView and QGraphicsScene in it, which can be scaled. Vertical scrollbar show up, but horizontal is not. Why? I haven't used anything what can make such unsimmetric behavior. And even after inclusion of
    Qt Code:
    1. MainWnd.GrahicsViewMain.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOn)
    2. MainWnd.GrahicsViewMain.horizontalScrollBar().show()
    To copy to clipboard, switch view to plain text mode 
    nothing changes.


    EDIT: Horizontal scrollbar was hidden under another widget. It works OK.
    Last edited by DSblizzard; 18th June 2010 at 01:30. Reason: updated contents

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: [solved] Horizontal scrollbar isn't show up.

    Seems that you are not using layouts. You should reconsider this decision.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QCompleter with horizontal ScrollBar
    By vajindarladdad in forum Newbie
    Replies: 2
    Last Post: 31st August 2009, 07:01
  2. How to add a horizontal scrollbar to a treeview?
    By yangyunzhao in forum Qt Programming
    Replies: 1
    Last Post: 20th August 2009, 09:24
  3. QTreeWidget horizontal scrollbar
    By ttvo in forum Qt Programming
    Replies: 1
    Last Post: 16th July 2009, 17:44
  4. Horizontal scrollbar problem
    By blaylockr in forum Newbie
    Replies: 2
    Last Post: 21st July 2008, 18:38
  5. Horizontal scrollbar tracking problem
    By tebessum in forum Qt Programming
    Replies: 1
    Last Post: 24th December 2006, 00:15

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.