mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 18:31:59 -05:00
Tile inspector: clip overly long object name strings.
This commit is contained in:
parent
146235931f
commit
7a107264df
1 changed files with 1 additions and 1 deletions
|
@ -2158,7 +2158,7 @@ static void window_tile_inspector_scrollpaint(rct_window* w, rct_drawpixelinfo*
|
|||
const sint32 x = -w->widgets[WIDX_LIST].left;
|
||||
set_format_arg(0, rct_string_id, STR_STRING);
|
||||
set_format_arg(2, char*, typeName);
|
||||
gfx_draw_string_left(dpi, stringFormat, gCommonFormatArgs, COLOUR_BLACK, x + COL_X_TYPE + 3, y); // 3px padding
|
||||
gfx_draw_string_left_clipped(dpi, stringFormat, gCommonFormatArgs, COLOUR_BLACK, x + COL_X_TYPE + 3, y, COL_X_BH); // 3px padding
|
||||
|
||||
// Base height
|
||||
set_format_arg(0, rct_string_id, STR_FORMAT_INTEGER);
|
||||
|
|
Loading…
Reference in a new issue