1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-17 10:10:23 +00:00
OpenMW/components/widgets
scrawl c9d9461d3e 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.
2017-07-31 16:20:29 +02:00
..
box.cpp Add Spacer class derived from AutoSizedWidget 2017-07-31 16:20:29 +02:00
box.hpp Add Spacer class derived from AutoSizedWidget 2017-07-31 16:20:29 +02:00
imagebutton.cpp
imagebutton.hpp
list.cpp
list.hpp
numericeditbox.cpp
numericeditbox.hpp
sharedstatebutton.cpp
sharedstatebutton.hpp
tags.cpp
tags.hpp
widgets.cpp Add Spacer class derived from AutoSizedWidget 2017-07-31 16:20:29 +02:00
widgets.hpp
windowcaption.cpp
windowcaption.hpp