Auto-resize all buttons and fonts, when screen resoluition changes
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user