Auto-resize all buttons and fonts, when screen resoluition changes

This commit is contained in:
pelya
2014-03-23 17:19:30 +02:00
parent 982c84b3ee
commit 313e3b73b3
8 changed files with 43 additions and 6 deletions

View File

@@ -525,7 +525,7 @@ public:
}
case WID_NCL_MATRIX:
resize->height = GetMinSizing(NWST_STEP, _settings_client.gui.min_step + WD_MATRIX_TOP + WD_MATRIX_BOTTOM);
resize->height = GetMinSizing(NWST_STEP, FONT_HEIGHT_NORMAL + WD_MATRIX_TOP + WD_MATRIX_BOTTOM);
size->height = 6 * resize->height;
break;
}