match reset help button text size to leds

This commit is contained in:
2024-11-25 17:21:14 -06:00
committed by Celtic Minstrel
parent ed3dcd9246
commit 925306825b

View File

@@ -1256,8 +1256,10 @@ void pick_preferences(bool record) {
cDialog prefsDlog(*ResMgr::dialogs.get("preferences"));
prefsDlog.attachClickHandlers(&prefs_event_filter, {"okay", "cancel"});
prefsDlog.attachClickHandlers(&reset_help, {"resethelp"});
prefsDlog.attachClickHandlers(&reset_help, {"resethelp"});
dynamic_cast<cButton&>(prefsDlog["resethelp"]).setTextSize(10);
cLedGroup& displayMode = dynamic_cast<cLedGroup&>(prefsDlog["display"]);
switch(get_int_pref("DisplayMode")) {
case 0: