summaryrefslogtreecommitdiff
path: root/scene/gui/spin_box.cpp
diff options
context:
space:
mode:
authorFireForge <isaacr.7.2005@gmail.com>2022-03-18 19:02:57 -0500
committerFireForge <67974470+fire-forge@users.noreply.github.com>2022-07-18 20:08:11 -0500
commit97dfbea6adc5cc2e2df4b26a34dfb0275991e335 (patch)
tree70f3c464523a786f57c4e807395916c9ac1a5e6a /scene/gui/spin_box.cpp
parentabe8b88702cdb4ce5ce154c31cb989e1cee56b5e (diff)
Rename Control PRESET_WIDE to PRESET_FULL_RECT
Diffstat (limited to 'scene/gui/spin_box.cpp')
-rw-r--r--scene/gui/spin_box.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp
index 7924bb13e9..a4733c455f 100644
--- a/scene/gui/spin_box.cpp
+++ b/scene/gui/spin_box.cpp
@@ -319,7 +319,7 @@ SpinBox::SpinBox() {
line_edit = memnew(LineEdit);
add_child(line_edit, false, INTERNAL_MODE_FRONT);
- line_edit->set_anchors_and_offsets_preset(Control::PRESET_WIDE);
+ line_edit->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT);
line_edit->set_mouse_filter(MOUSE_FILTER_PASS);
line_edit->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_LEFT);