diff options
author | Daniel J. Ramirez <djrmuv@gmail.com> | 2016-05-03 16:20:09 -0500 |
---|---|---|
committer | Daniel J. Ramirez <djrmuv@gmail.com> | 2016-05-03 16:20:09 -0500 |
commit | 723c0d730c0bb3df888934dd94ed1e45f24b7acd (patch) | |
tree | ce979eea1575e3caf5169c54719e3077b47c207e /tools/editor/property_editor.cpp | |
parent | f1b39631f594b28f81b7d3d3162ae9847134464e (diff) | |
download | redot-engine-723c0d730c0bb3df888934dd94ed1e45f24b7acd.tar.gz |
Changed barely visible PROPERTY_HINT_ALL_FLAGS buttons for checkboxes
Diffstat (limited to 'tools/editor/property_editor.cpp')
-rw-r--r-- | tools/editor/property_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp index 110f5bb7f5..a5c2164963 100644 --- a/tools/editor/property_editor.cpp +++ b/tools/editor/property_editor.cpp @@ -321,7 +321,7 @@ bool CustomPropertyEditor::edit(Object* p_owner,const String& p_name,Variant::Ty ofs.y+=22*i; for(int j=0;j<10;j++) { - Button *c=checks20[i*10+j]; + CheckBox *c=checks20[i*10+j]; Point2 o=ofs; o.x+=j*22; if (j>=5) @@ -1721,7 +1721,7 @@ CustomPropertyEditor::CustomPropertyEditor() { } for(int i=0;i<20;i++) { - checks20[i]=memnew( Button ); + checks20[i]=memnew( CheckBox ); checks20[i]->set_toggle_mode(true); checks20[i]->set_focus_mode(FOCUS_NONE); add_child(checks20[i]); |