Rename Control PRESET_WIDE to PRESET_FULL_RECT
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user