Rename Control PRESET_WIDE to PRESET_FULL_RECT
This commit is contained in:
parent
abe8b88702
commit
97dfbea6ad
49 changed files with 106 additions and 106 deletions
|
|
@ -1826,7 +1826,7 @@ CustomPropertyEditor::CustomPropertyEditor() {
|
|||
|
||||
text_edit = memnew(TextEdit);
|
||||
value_vbox->add_child(text_edit);
|
||||
text_edit->set_anchors_and_offsets_preset(Control::PRESET_WIDE, Control::PRESET_MODE_MINSIZE, 5);
|
||||
text_edit->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT, Control::PRESET_MODE_MINSIZE, 5);
|
||||
text_edit->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
text_edit->set_offset(SIDE_BOTTOM, -30);
|
||||
|
||||
|
|
@ -1882,12 +1882,12 @@ CustomPropertyEditor::CustomPropertyEditor() {
|
|||
|
||||
spinbox = memnew(SpinBox);
|
||||
value_vbox->add_child(spinbox);
|
||||
spinbox->set_anchors_and_offsets_preset(Control::PRESET_WIDE, Control::PRESET_MODE_MINSIZE, 5);
|
||||
spinbox->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT, Control::PRESET_MODE_MINSIZE, 5);
|
||||
spinbox->connect("value_changed", callable_mp(this, &CustomPropertyEditor::_range_modified));
|
||||
|
||||
slider = memnew(HSlider);
|
||||
value_vbox->add_child(slider);
|
||||
slider->set_anchors_and_offsets_preset(Control::PRESET_WIDE, Control::PRESET_MODE_MINSIZE, 5);
|
||||
slider->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT, Control::PRESET_MODE_MINSIZE, 5);
|
||||
slider->connect("value_changed", callable_mp(this, &CustomPropertyEditor::_range_modified));
|
||||
|
||||
action_hboxes = memnew(HBoxContainer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue