| 1 |
<Window title="All Widgets demo."> |
| 2 |
<HBox> |
| 3 |
<VBox> |
| 4 |
<Label text="ScrollArea with ListBox:"/> |
| 5 |
<ScrollArea min_size="200,100"> |
| 6 |
<ListBox name="demoList" min_size="100,100" /> |
| 7 |
</ScrollArea> |
| 8 |
</VBox> |
| 9 |
<VBox> |
| 10 |
<Label text="ScrollArea with TextBox:"/> |
| 11 |
<ScrollArea min_size="200,100" horizontal_scrollbar="0"> |
| 12 |
<TextBox name="demoText" min_size="100,100" /> |
| 13 |
</ScrollArea> |
| 14 |
</VBox> |
| 15 |
</HBox> |
| 16 |
<Label text="HBox with Buttons:"/> |
| 17 |
<HBox> |
| 18 |
<Button text="Button 1"/> |
| 19 |
<Button text="Button 2"/> |
| 20 |
<Button text="Button 3"/> |
| 21 |
<Spacer/> |
| 22 |
</HBox> |
| 23 |
<Label text="Radiobuttons with different group attributes:"/> |
| 24 |
<HBox> |
| 25 |
<VBox> |
| 26 |
<RadioButton text="Exclusive choice 1" group="radio1"/> |
| 27 |
<RadioButton text="Exclusive choice 2" group="radio1"/> |
| 28 |
<RadioButton text="Exclusive choice 3" group="radio1"/> |
| 29 |
<Spacer/> |
| 30 |
</VBox> |
| 31 |
<VBox> |
| 32 |
<RadioButton text="Exclusive choice 1" group="radio2"/> |
| 33 |
<RadioButton text="Exclusive choice 2" group="radio2"/> |
| 34 |
<RadioButton text="Exclusive choice 3" group="radio2"/> |
| 35 |
<RadioButton text="Exclusive choice 4" group="radio2"/> |
| 36 |
</VBox> |
| 37 |
</HBox> |
| 38 |
<Label text="Some CheckBoxes:"/> |
| 39 |
<CheckBox text="Inclusive choice 1"/> |
| 40 |
<CheckBox text="Inclusive choice 2"/> |
| 41 |
<Label text="Icon and ImageButton:"/> |
| 42 |
<Icon image="data/backgrounds/stripe.png" /> |
| 43 |
<ImageButton up_image="data/backgrounds/stripe.png" text="Click me for a Bug demonstration" /> |
| 44 |
<HBox> |
| 45 |
<Label text="I'm a ClickLabel[br]Multiline enabled?![br]I do hope so."/> |
| 46 |
<Spacer/> |
| 47 |
<Button name="okButton" text="OK"/> |
| 48 |
</HBox> |
| 49 |
</Window> |