Merge pull request #59301 from fire-forge/layout-preset-full-rect
This commit is contained in:
commit
7fd29b5464
49 changed files with 106 additions and 106 deletions
|
|
@ -1281,8 +1281,8 @@
|
|||
<constant name="PRESET_HCENTER_WIDE" value="14" enum="LayoutPreset">
|
||||
Snap all 4 anchors to a horizontal line that cuts the parent control in half. Use with [method set_anchors_preset].
|
||||
</constant>
|
||||
<constant name="PRESET_WIDE" value="15" enum="LayoutPreset">
|
||||
Snap all 4 anchors to the respective corners of the parent control. Set all 4 offsets to 0 after you applied this preset and the [Control] will fit its parent control. This is equivalent to the "Full Rect" layout option in the editor. Use with [method set_anchors_preset].
|
||||
<constant name="PRESET_FULL_RECT" value="15" enum="LayoutPreset">
|
||||
Snap all 4 anchors to the respective corners of the parent control. Set all 4 offsets to 0 after you applied this preset and the [Control] will fit its parent control. Use with [method set_anchors_preset].
|
||||
</constant>
|
||||
<constant name="PRESET_MODE_MINSIZE" value="0" enum="LayoutPresetMode">
|
||||
The control will be resized to its minimum size.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue