mirror of
https://github.com/xenia-project/elemental-forms.git
synced 2026-01-31 01:25:17 +01:00
124 lines
2.4 KiB
Plaintext
124 lines
2.4 KiB
Plaintext
WindowInfo
|
|
title ScrollContainer with misc elements
|
|
size 500 500
|
|
LayoutBox
|
|
gravity all
|
|
distribution available
|
|
axis y
|
|
ScrollContainer
|
|
LayoutBox
|
|
position left top
|
|
axis y
|
|
Label: text: Buttons with different fonts:
|
|
LayoutBox
|
|
Button
|
|
text: "Orange"
|
|
font: name: Orange
|
|
Button
|
|
text: "Segoe 14"
|
|
font: size: 14px
|
|
Button
|
|
text: "Segoe 28"
|
|
font: size: 28px
|
|
Label: text: Button containing IconBox:
|
|
LayoutBox
|
|
Button
|
|
text Click for image!
|
|
id add img
|
|
IconBox
|
|
skin Icon16
|
|
Button
|
|
axis y
|
|
text Click for image!
|
|
id add img
|
|
IconBox
|
|
skin Icon16
|
|
Label: text: "Button containing TextBox:"
|
|
LayoutBox
|
|
Button
|
|
TextBox: gravity: all, skin: 0, multiline: 1, readonly: 1, adapt-to-content: 1, styling: 1
|
|
text: "A <color #0794f8>Button</color> with styled text that is able to wrap to multiple lines."
|
|
Label: text: "Showing menu manually, and DropDownButton:"
|
|
LayoutBox
|
|
Button
|
|
text Give me a popup menu!
|
|
id showpopupmenu1
|
|
DropDownButton
|
|
text Dropdown
|
|
id name dropdown
|
|
DropDownButton
|
|
text Customized items in Dropdown
|
|
id advanced dropdown
|
|
LayoutBox
|
|
overflow scroll
|
|
RadioButton
|
|
CheckBox
|
|
value 1
|
|
IconBox
|
|
skin Icon16
|
|
IconBox
|
|
skin Icon48
|
|
Button
|
|
Button: toggle-mode: 1
|
|
Label: text: "TextBox:"
|
|
LayoutBox
|
|
TextBox
|
|
text Edit type text
|
|
TextBox
|
|
type search
|
|
text Edit type search
|
|
TextBox
|
|
type password
|
|
text pwd goes here
|
|
TextBox
|
|
text In this field, multiple lines are enabled.
|
|
multiline 1
|
|
Label: text: "Slider:"
|
|
LayoutBox
|
|
Slider
|
|
Slider
|
|
min 100
|
|
max 200
|
|
value 150
|
|
Slider
|
|
axis y
|
|
min 0
|
|
max 100
|
|
connection master-volume
|
|
Label: text: "ScrollBar:"
|
|
LayoutBox
|
|
ScrollBar
|
|
ScrollBar
|
|
axis y
|
|
Label: text: Horizontal layout:
|
|
LayoutBox
|
|
id horizontal_layout
|
|
Button
|
|
text "1 new button"
|
|
id new buttons
|
|
data 1
|
|
Button
|
|
text "100 new buttons!"
|
|
id new buttons
|
|
data 100
|
|
Button
|
|
text "10 new with delay!"
|
|
id new buttons delayed
|
|
data 10
|
|
Label: text: Vertical layout:
|
|
LayoutBox
|
|
id vertical_layout
|
|
axis y
|
|
Button
|
|
text "1 new button"
|
|
id new buttons
|
|
data 1
|
|
Button
|
|
text "100 new buttons!"
|
|
id new buttons
|
|
data 100
|
|
Button
|
|
text "10 new with delay!"
|
|
id new buttons delayed
|
|
data 10
|