Rename Control PRESET_WIDE to PRESET_FULL_RECT
This commit is contained in:
@@ -1122,7 +1122,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
|
||||
break;
|
||||
case TOOL_CREATE_USER_INTERFACE: {
|
||||
Control *node = memnew(Control);
|
||||
node->set_anchors_and_offsets_preset(PRESET_WIDE); //more useful for resizable UIs.
|
||||
node->set_anchors_and_offsets_preset(PRESET_FULL_RECT); //more useful for resizable UIs.
|
||||
new_node = node;
|
||||
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user