mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Position dropdown and spinner label texts vertically, too.
This commit is contained in:
@@ -387,7 +387,8 @@ static void widget_text(rct_drawpixelinfo* dpi, rct_window* w, rct_widgetindex w
|
|||||||
int32_t r = w->windowPos.x + widget->right;
|
int32_t r = w->windowPos.x + widget->right;
|
||||||
int32_t t;
|
int32_t t;
|
||||||
|
|
||||||
if (widget->type == WWT_BUTTON || widget->type == WWT_TABLE_HEADER)
|
if (widget->type == WWT_BUTTON || widget->type == WWT_DROPDOWN || widget->type == WWT_SPINNER
|
||||||
|
|| widget->type == WWT_TABLE_HEADER)
|
||||||
{
|
{
|
||||||
int32_t height = (widget->bottom - widget->top);
|
int32_t height = (widget->bottom - widget->top);
|
||||||
if (height >= 10)
|
if (height >= 10)
|
||||||
|
|||||||
Reference in New Issue
Block a user