Fixed sign list window
This commit is contained in:
@@ -267,7 +267,7 @@ struct SignListWindow : Window, SignList {
|
||||
case WID_SIL_LIST: {
|
||||
Dimension spr_dim = GetSpriteSize(SPR_COMPANY_ICON);
|
||||
this->text_offset = WD_FRAMETEXT_LEFT + spr_dim.width + 2; // 2 pixels space between icon and the sign text.
|
||||
resize->height = max<uint>(FONT_HEIGHT_NORMAL, spr_dim.height);
|
||||
resize->height = max<uint>(GetMinSizing(NWST_STEP), spr_dim.height);
|
||||
Dimension d = {(uint)(this->text_offset + WD_FRAMETEXT_RIGHT), WD_FRAMERECT_TOP + 5 * resize->height + WD_FRAMERECT_BOTTOM};
|
||||
*size = maxdim(*size, d);
|
||||
break;
|
||||
|
||||
4
todo.txt
4
todo.txt
@@ -1,12 +1,8 @@
|
||||
|
||||
- 'Place Sign' does not work. Landscaping - Place Sign works.
|
||||
|
||||
- Companies - Sort By arrow and text misaligned.
|
||||
|
||||
- Subsidies list text too small.
|
||||
|
||||
- Sign list window is broken.
|
||||
|
||||
- Map of the world cannot be scrolled with one finger.
|
||||
|
||||
- Hide all windows when building something, add Confirm/Cancel dialog.
|
||||
|
||||
Reference in New Issue
Block a user