mirror of https://github.com/OpenMW/openmw.git
Add Spacer class derived from AutoSizedWidget
Using a normal widget as a spacer with HStretch/VStretch may not work properly because for widgets not derived from AutoSizedWidget, the HBox/VBox treat the widget's current size as the requested minimum size. This leads the layout to break when resized more than once. The new class sets HStretch and VStretch to true by default to save some typing.pull/1277/head
parent
308ddabe90
commit
c9d9461d3e
Loading…
Reference in New Issue