|
84 | 84 | </validation>
|
85 | 85 | </settings>
|
86 | 86 | </field>
|
87 |
| - <field name="min_height" sortOrder="30" formElement="input"> |
88 |
| - <settings> |
89 |
| - <label translate="true">Minimum Height</label> |
90 |
| - <additionalClasses> |
91 |
| - <class name="admin__field-x-small">true</class> |
92 |
| - </additionalClasses> |
93 |
| - <addAfter>px</addAfter> |
94 |
| - <dataType>text</dataType> |
95 |
| - <dataScope>min_height</dataScope> |
96 |
| - <validation> |
97 |
| - <rule name="validate-number" xsi:type="boolean">true</rule> |
98 |
| - </validation> |
99 |
| - </settings> |
100 |
| - </field> |
101 | 87 | </fieldset>
|
102 | 88 | <fieldset name="background" sortOrder="30">
|
103 | 89 | <settings>
|
|
258 | 244 | </formElements>
|
259 | 245 | </field>
|
260 | 246 | </fieldset>
|
| 247 | + <fieldset name="layout" sortOrder="30"> |
| 248 | + <settings> |
| 249 | + <label translate="true">Layout</label> |
| 250 | + <collapsible>true</collapsible> |
| 251 | + <opened>true</opened> |
| 252 | + </settings> |
| 253 | + <field name="min_height" sortOrder="10" formElement="input"> |
| 254 | + <settings> |
| 255 | + <label translate="true">Minimum Height</label> |
| 256 | + <addAfter translate="true">px</addAfter> |
| 257 | + <additionalClasses> |
| 258 | + <class name="admin__field-small">true</class> |
| 259 | + </additionalClasses> |
| 260 | + <validation> |
| 261 | + <rule name="validate-number" xsi:type="boolean">true</rule> |
| 262 | + <rule name="greater-than-equals-to" xsi:type="number">0</rule> |
| 263 | + </validation> |
| 264 | + </settings> |
| 265 | + </field> |
| 266 | + <field name="justify_content" sortOrder="20" formElement="select"> |
| 267 | + <argument name="data" xsi:type="array"> |
| 268 | + <item name="config" xsi:type="array"> |
| 269 | + <item name="default" xsi:type="string">flex-start</item> |
| 270 | + </item> |
| 271 | + </argument> |
| 272 | + <settings> |
| 273 | + <dataType>text</dataType> |
| 274 | + <label translate="true">Vertical Alignment</label> |
| 275 | + <notice translate="true">Vertical alignment controls how the child blocks of this container will be positioned. Set minimum height in order to use vertical alignment.</notice> |
| 276 | + <elementTmpl>Magento_PageBuilder/form/element/visual-select</elementTmpl> |
| 277 | + </settings> |
| 278 | + <formElements> |
| 279 | + <select> |
| 280 | + <settings> |
| 281 | + <options class="Magento\PageBuilder\Model\Source\VerticalAlignment"/> |
| 282 | + </settings> |
| 283 | + </select> |
| 284 | + </formElements> |
| 285 | + </field> |
| 286 | + </fieldset> |
261 | 287 | <fieldset name="advanced">
|
262 | 288 | <field name="border" sortOrder="20" formElement="select">
|
263 | 289 | <argument name="data" xsi:type="array">
|
|
0 commit comments