simplify alignment preset, fixing icon for full rect
This commit is contained in:
parent
351197bfe4
commit
f3d43a384d
2 changed files with 9 additions and 15 deletions
|
|
@ -3300,7 +3300,7 @@ void Control::_bind_methods() {
|
|||
ADD_PROPERTY(PropertyInfo(Variant::INT, "layout_mode", PROPERTY_HINT_ENUM, "Position,Anchors,Container,Uncontrolled", PROPERTY_USAGE_EDITOR | PROPERTY_USAGE_INTERNAL), "_set_layout_mode", "_get_layout_mode");
|
||||
ADD_PROPERTY_DEFAULT("layout_mode", LayoutMode::LAYOUT_MODE_POSITION);
|
||||
|
||||
const String anchors_presets_options = "Custom:-1,PresetWide:15,"
|
||||
const String anchors_presets_options = "Custom:-1,PresetFullRect:15,"
|
||||
"PresetTopLeft:0,PresetTopRight:1,PresetBottomRight:3,PresetBottomLeft:2,"
|
||||
"PresetCenterLeft:4,PresetCenterTop:5,PresetCenterRight:6,PresetCenterBottom:7,PresetCenter:8,"
|
||||
"PresetLeftWide:9,PresetTopWide:10,PresetRightWide:11,PresetBottomWide:12,PresetVCenterWide:13,PresetHCenterWide:14";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue