Results 1 to 3 of 3

Thread: GridLayout widgets don't expand as expected

  1. #1
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default GridLayout widgets don't expand as expected

    Hello guys,

    I have a question about layouts. I have a grid-layout (see attachment) containing 4 QTableViews. They all have same config(SizePolicy is Expanding). If I pull down the widget the QTableViews expand, but not
    in the same proportion. QTableView 1 and 2 expand more and 3 and 4 expand less.
    What I have to change to achieve same expanding on all four QTableViews?



    Auswahl_149.jpg


    thank you

  2. #2
    Join Date
    Apr 2011
    Posts
    195
    Thanks
    49
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: GridLayout widgets don't expand as expected

    Nobody an idea?

  3. #3
    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: GridLayout widgets don't expand as expected

    Have you tried with just the four table views, i.e. without any of the other widgets and spacers?
    Just to see if any of those cause the observed effect

    Cheers,
    _

Similar Threads

  1. Expand all widgets depending on screen geometry
    By Henry Blue Heeler in forum Qt Programming
    Replies: 3
    Last Post: 8th August 2014, 19:03
  2. How to clear the GridLayout
    By rahulgogoi in forum Qt Programming
    Replies: 7
    Last Post: 13th May 2011, 06:22
  3. QMdiArea with Gridlayout
    By ericV in forum Qt Programming
    Replies: 0
    Last Post: 14th September 2009, 11:26
  4. Replies: 1
    Last Post: 20th July 2008, 19:47
  5. does gridlayout really lay out?
    By illuzioner in forum Newbie
    Replies: 2
    Last Post: 26th February 2006, 00:57

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.