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

@@ -1822,7 +1822,7 @@ void CheckWindowMinSizings()
SETTING_BUTTON_WIDTH = 2 * SETTING_BUTTON_HEIGHT;
extern uint _tooltip_width;
_tooltip_width = max<uint>(194, 10 * _settings_client.gui.min_button);
_tooltip_width = max<uint>(194, 10 * RescaleFrom854x480(_settings_client.gui.min_button));
}
/**