Results 1 to 3 of 3

Thread: QTabWidget size set to content

  1. #1
    Join Date
    Aug 2012
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QTabWidget size set to content

    Hey all,
    currently Im facing problem with fittingwindow size with QTabWidget.
    On start window is too small.
    Untitled.png

    I already set Size policy to expanding, bu it does not change anything.

    Could anyone have any hint for me?

    BR
    Tomek

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QTabWidget size set to content

    Do you have layouts in each container widget?
    E.g. is the tab widget in the layout of its parent?

    Cheers,
    _

  3. #3
    Join Date
    Aug 2012
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTabWidget size set to content

    Yes.
    This text is because message has to be at least 10 characters long...

Similar Threads

  1. changing individual tab content properites of qtabwidget
    By qtnewbi3 in forum Qt Programming
    Replies: 0
    Last Post: 17th February 2012, 18:09
  2. Replies: 2
    Last Post: 21st November 2011, 17:48
  3. How to get the content size of QAbstractItemView
    By moti.lahiani in forum Qt Programming
    Replies: 3
    Last Post: 23rd May 2010, 10:20
  4. I can not adjust the size of a widget to your content.
    By jjcarles in forum Qt Programming
    Replies: 3
    Last Post: 8th April 2010, 22:54
  5. Resizing a QDialog to the content size
    By Nyphel in forum Qt Programming
    Replies: 8
    Last Post: 15th March 2007, 08:16

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.