0ad/source/gui/ObjectTypes
Vantha 8a2a450686 Align text as usual if the scrollbar is invisible
Previously, while `scrollbar` was set to true, the text was always
vertically aligned to the top, no matter what its `text_valign` was, by
the scrolling logic. However, this was done even when the text's caption
was so short that no scrollbar was required in the first place (and not
rendered). Falling back to the specified `text_valign` value in that case
instead seems like the expected behavior.

On a few occasions in the GUI, the text was supposed to be aligned to
the top in either case, but still set `text_valign` to a different value
(for whatever reason), which didn't have any effect previously. But
now since it does, the values have to be corrected to specify what is
actually desired.
2026-04-06 21:39:18 +02:00
..
CButton.cpp Fix oversight in 83f4d8789b 2025-12-23 10:28:22 +01:00
CButton.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CChart.cpp Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CChart.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CCheckBox.cpp Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CCheckBox.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CDropDown.cpp Fix warnings on the charts tab of summary screen 2025-12-23 10:28:22 +01:00
CDropDown.h Remove inconsistent override in CDropdown.h 2025-12-29 13:46:47 +01:00
CGUIDummyObject.h Fix headers for gui/ObjectTypes 2025-06-30 20:38:16 +02:00
CHotkeyPicker.cpp Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CHotkeyPicker.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CImage.cpp Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CImage.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CInput.cpp Cleanup of IGUIObject classes 2025-08-11 18:38:01 +02:00
CInput.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CList.cpp Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CList.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CMiniMap.cpp Only render the minimap texture if it'll be displayed 2026-03-03 11:25:52 +01:00
CMiniMap.h Only render the minimap texture if it'll be displayed 2026-03-03 11:25:52 +01:00
COList.cpp Fix headers for gui/ObjectTypes 2025-06-30 20:38:16 +02:00
COList.h Fix headers for gui/ObjectTypes 2025-06-30 20:38:16 +02:00
CProgressBar.cpp Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CProgressBar.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CRadioButton.cpp Fix headers for gui/ObjectTypes 2025-06-30 20:38:16 +02:00
CRadioButton.h Fix headers for gui/ObjectTypes 2025-06-30 20:38:16 +02:00
CScrollPanel.cpp Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CScrollPanel.h Cleanup of IGUIObject classes 2025-08-11 18:38:01 +02:00
CSlider.cpp Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CSlider.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CText.cpp Align text as usual if the scrollbar is invisible 2026-04-06 21:39:18 +02:00
CText.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CTooltip.cpp Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00
CTooltip.h Remove default dtors of IGUIObject derived classes 2025-08-11 18:38:01 +02:00