Implemented #4931 - Added colored background for the Manipulation panel, if
option "Use colors for axes values in Manipulation panel" is enabled in Preferences -> GUI + Fix one more compilation warning in UnsavedChangesDialog.cpp
This commit is contained in:
parent
820c18923b
commit
a1e49e7f8c
4 changed files with 37 additions and 4 deletions
src/slic3r/GUI
|
@ -297,6 +297,14 @@ void PreferencesDialog::build()
|
|||
option = Option(def, "suppress_hyperlinks");
|
||||
m_optgroup_gui->append_single_option_line(option);
|
||||
|
||||
def.label = L("Use colors for axes values in Manipulation panel");
|
||||
def.type = coBool;
|
||||
def.tooltip = L("If enabled, the axes names and axes values will be colorized according to the axes colors. "
|
||||
"If disabled, old UI will be used.");
|
||||
def.set_default_value(new ConfigOptionBool{ app_config->get("color_mapinulation_panel") == "1" });
|
||||
option = Option(def, "color_mapinulation_panel");
|
||||
m_optgroup_gui->append_single_option_line(option);
|
||||
|
||||
def.label = L("Use custom size for toolbar icons");
|
||||
def.type = coBool;
|
||||
def.tooltip = L("If enabled, you can change size of toolbar icons manually.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue