MSW specific:Added dark mode for G-CodeViewer
This commit is contained in:
parent
68fd37b300
commit
a2b99db0df
2 changed files with 5 additions and 3 deletions
src/slic3r/GUI
|
@ -343,6 +343,7 @@ void PreferencesDialog::build(size_t selected_tab)
|
|||
m_optgroup_gui->append_single_option_line(option);
|
||||
|
||||
#ifdef _MSW_DARK_MODE
|
||||
}
|
||||
def.label = L("Use Dark color mode (experimental)");
|
||||
def.type = coBool;
|
||||
def.tooltip = L("If enabled, UI will use Dark mode colors. "
|
||||
|
@ -351,6 +352,7 @@ void PreferencesDialog::build(size_t selected_tab)
|
|||
option = Option(def, "dark_color_mode");
|
||||
m_optgroup_gui->append_single_option_line(option);
|
||||
|
||||
if (is_editor) {
|
||||
def.label = L("Set settings tabs as menu items (experimental)");
|
||||
def.type = coBool;
|
||||
def.tooltip = L("If enabled, Settings Tabs will be placed as menu items. "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue