update doc/*/xml-ui-layouts.md

This commit is contained in:
MihailRis 2026-03-15 23:48:29 +03:00
parent 9297873004
commit f1cc114079
2 changed files with 6 additions and 0 deletions

View file

@ -98,6 +98,7 @@ A panel that controls the size and position of two elements. Allows the user to
Inner text is a button text.
- `font` - font name
- `text-align` - inner text alignment (*left/center/right*). Type: string.
## *checkbox*
@ -108,6 +109,7 @@ Inner text is a button text.
## *label*
- `font` - font name
- `text-align` - text alignment (*left/center/right*). Type: string.
- `valign` - vertical text alignment: top/center/bottom.
- `supplier` - text supplier (called every frame).
@ -131,6 +133,7 @@ Inner text is a button text.
Inner text - initially entered text
- `font` - font name
- `placeholder` - placeholder text (used if the text field is empty)
- `hint` - text displayed if the text field is empty (not sent to consumer, sub-consumer and validator).
- `supplier` - text supplier (called every frame)

View file

@ -100,6 +100,7 @@
Внутренний текст - текст кнопки.
- `font` - имя шрифта
- `text-align` - выравнивание текста ("left", "center" или "right"). Тип: строка.
## Флажок - *checkbox*
@ -110,6 +111,7 @@
## Метка - *label*
- `font` - имя шрифта
- `text-align` - выравнивание текста ("left", "center" или "right"). Тип: строка.
- `valign` - вертикальное выравнивание текста: top/center/bottom
- `supplier` - поставщик текста (вызывается каждый кадр)
@ -132,6 +134,7 @@
Внутренний текст - изначально введенный текст
- `font` - имя шрифта
- `placeholder` - текст подстановки (используется если текстовое поле пусто)
- `hint` - текст, отображаемый, если текстовое поле пусто (не отправляется в consumer, sub-consumer и validator).
- `supplier` - поставщик текста (вызывается каждый кадр)