Some fixes and improvements.

Changed FileDialogs for EditorFileDialogs in EditorNode.
Updated CheckButton.
This commit is contained in:
Daniel J. Ramirez 2017-11-10 16:45:08 -06:00
parent 19b1ff0fc5
commit 8cf0d6ceb4
8 changed files with 47 additions and 24 deletions

View file

@ -568,6 +568,11 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
theme->set_constant("modulate_arrow", "OptionButton", true);
// CheckButton
theme->set_stylebox("normal", "CheckButton", style_menu);
theme->set_stylebox("pressed", "CheckButton", style_menu);
theme->set_stylebox("disabled", "CheckButton", style_menu);
theme->set_stylebox("hover", "CheckButton", style_menu);
theme->set_icon("on", "CheckButton", theme->get_icon("GuiToggleOn", "EditorIcons"));
theme->set_icon("off", "CheckButton", theme->get_icon("GuiToggleOff", "EditorIcons"));