diff options
| author | MarianoGNU | 2015-11-21 02:51:42 -0300 |
|---|---|---|
| committer | MarianoGNU | 2016-01-15 17:23:19 -0300 |
| commit | dc7755ffcd1e275b065d3acfcc7696697097567b (patch) | |
| tree | a5027419f9c675edf205bd611692b7733a0edfc8 /tools/editor/property_editor.cpp | |
| parent | 3c6dd5749d445f082fc925a34cc0a26f8d342304 (diff) | |
| download | godot-dc7755ffcd1e275b065d3acfcc7696697097567b.tar.gz godot-dc7755ffcd1e275b065d3acfcc7696697097567b.tar.zst godot-dc7755ffcd1e275b065d3acfcc7696697097567b.zip | |
Add a visual editor to color picker.
Diffstat (limited to 'tools/editor/property_editor.cpp')
| -rw-r--r-- | tools/editor/property_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp index cc7db5714..286a8f25b 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; |
