Results 1 to 11 of 11

Thread: QScrollArea Sizing

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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: QScrollArea Sizing

    No, I don't know all the constants by heart. It's best to look into source-code of QAbstractScrollArea to see what gets called by it. It could be that you can get the proper numbers (at least for the padding of the viewport relative to the whole widget) by the public API of the latter.
    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.


  2. #2
    Join Date
    Oct 2010
    Posts
    11

    Default Re: QScrollArea Sizing

    I will look into this, thank you. Also I think I have come to like the idea of a button. I think I will go with modding the UI to have an action which pops it to full-size or full-screen depending on obviously which makes more sense.

Similar Threads

  1. Replies: 0
    Last Post: 30th April 2010, 05:22
  2. Replies: 2
    Last Post: 10th March 2008, 20:16
  3. QGraphicsSvgItem sizing
    By jefferai in forum Qt Programming
    Replies: 1
    Last Post: 27th June 2007, 21:48
  4. Sizing problem
    By Levon Nikoghosyan in forum Qt Programming
    Replies: 7
    Last Post: 2nd April 2007, 17:31
  5. sizing question
    By jlgerber in forum Newbie
    Replies: 1
    Last Post: 20th November 2006, 16:48

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.