Hi all,

I am using QGraphicsWidgets in a QGraphicsGridLayout. In general, it works, but in one specific aspect, it does not behave as I expect (see screenshots). Can someone help me understand why the layout does what it does? Thanks!

Text in screenshots specifies horizontal size policy only. I'm fine with the vertical layout.

This is what I expect:


This is what I get:


As you can see, column 2 (with an expanding item) receives only about as much space as the two columns (1 and 3) with "minimum" items. The "minimum" items in columns 1 and 3 definitely have a lower minimum width than shown - they could be shrunk without any problems.