diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-19 12:06:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-19 12:06:00 +0200 |
commit | 7fd29b5464350f13df32084fd1c367a9b946cf8e (patch) | |
tree | cb79c4fdba865acaccf86b7120f65cbc52ed06a4 /editor/editor_resource_picker.cpp | |
parent | 035d91ed73ce5d1cea1b24c7899875188565f6c0 (diff) | |
parent | 97dfbea6adc5cc2e2df4b26a34dfb0275991e335 (diff) |
Merge pull request #59301 from fire-forge/layout-preset-full-rect
Diffstat (limited to 'editor/editor_resource_picker.cpp')
-rw-r--r-- | editor/editor_resource_picker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_resource_picker.cpp b/editor/editor_resource_picker.cpp index 2e78b58e11..40e16bf717 100644 --- a/editor/editor_resource_picker.cpp +++ b/editor/editor_resource_picker.cpp @@ -879,7 +879,7 @@ EditorResourcePicker::EditorResourcePicker() { preview_rect = memnew(TextureRect); preview_rect->set_ignore_texture_size(true); - preview_rect->set_anchors_and_offsets_preset(PRESET_WIDE); + preview_rect->set_anchors_and_offsets_preset(PRESET_FULL_RECT); preview_rect->set_offset(SIDE_TOP, 1); preview_rect->set_offset(SIDE_BOTTOM, -1); preview_rect->set_offset(SIDE_RIGHT, -1); |