summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorMarianoGNU <marianognu.easyrpg@gmail.com>2015-11-21 02:51:42 -0300
committerMarianoGNU <marianognu.easyrpg@gmail.com>2016-01-15 17:23:19 -0300
commitdc7755ffcd1e275b065d3acfcc7696697097567b (patch)
treea5027419f9c675edf205bd611692b7733a0edfc8 /tools/editor
parent3c6dd5749d445f082fc925a34cc0a26f8d342304 (diff)
Add a visual editor to color picker.
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/property_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp
index cc7db57145..286a8f25b1 100644
--- a/tools/editor/property_editor.cpp
+++ b/tools/editor/property_editor.cpp
@@ -595,7 +595,7 @@ bool CustomPropertyEditor::edit(Object* p_owner,const String& p_name,Variant::Ty
color_picker->show();
color_picker->set_edit_alpha(hint!=PROPERTY_HINT_COLOR_NO_ALPHA);
color_picker->set_color(v);
- set_size( Size2(350, color_picker->get_combined_minimum_size().height+10));
+ set_size( Size2(300, color_picker->get_combined_minimum_size().height+10));
/*
int ofs=80;
int m=10;