You've already forked godot
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user