Fix height calculation for preferred filament area height (#12660)

## FIXES
• Corrects area height on windows while using 125% and 175% scaling. it
shows scrollbar when it incorrectly set. i have used directly size of
combobox this time instead static number

## IMPROVEMENTS
• Removes restriction for restarting orca when setting changed
This commit is contained in:
SoftFever
2026-03-16 15:06:14 +08:00
committed by GitHub
4 changed files with 65 additions and 24 deletions

View File

@@ -63,6 +63,7 @@ public:
~PreferencesDialog();
wxString m_backup_interval_time;
wxTimer m_filament_height_timer;
void create();
@@ -109,6 +110,8 @@ public:
void create_shortcuts_page();
wxBoxSizer* create_debug_page();
void UpdateSidebarLayout();
// BBS
void create_select_domain_widget();