[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3150: Autoresize doesn't work under QT as expected


http://gambaswiki.org/bugtracker/edit?object=BUG.3150&from=L21haW4-

Comment #1 by Benoît MINISINI:

The main reason of that difference is that you insert an HBox inside the ScrollView without specifying its position. Alas with the QT component, the HBox is positioned by default with negative coordinates, and so it is not actually visible.

And as it is not actually visible, the children layout arrangement associated with the AutoResize property is never run.

If you move the HBox to (0,0) after having created it, making it actually visible, everything works as expected.



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----