Fixed sign list window

This commit is contained in:
pelya
2016-04-03 00:00:44 +03:00
parent ecd7e7f4b1
commit 655bb98974
2 changed files with 1 additions and 5 deletions

View File

@@ -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;

View File

@@ -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.