Some control fixes and removed useless lines
This commit is contained in:
parent
523b3c11cf
commit
06256cd778
8 changed files with 10 additions and 15 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue