1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Some control fixes and removed useless lines

This commit is contained in:
Gilles Roudiere
2017-08-19 19:10:00 +02:00
parent 523b3c11cf
commit 06256cd778
8 changed files with 10 additions and 15 deletions

View File

@@ -1938,10 +1938,8 @@ CustomPropertyEditor::CustomPropertyEditor() {
text_edit = memnew(TextEdit);
add_child(text_edit);
text_edit->set_area_as_parent_rect();
for (int i = 0; i < 4; i++)
text_edit->set_margin((Margin)i, 5);
text_edit->set_margin(MARGIN_BOTTOM, 30);
text_edit->set_area_as_parent_rect(5);
text_edit->set_margin(MARGIN_BOTTOM, -30);
text_edit->hide();
text_edit->connect("text_changed", this, "_text_edit_changed");