awtk/design/default/ui/combo_box.xml

27 lines
1.6 KiB
XML
Raw Normal View History

2018-10-26 07:25:22 +08:00
<window anim_hint="htranslate">
2021-05-06 17:19:45 +08:00
<combo_box right_margin="30" x="10" y="5" w="200" h="30" text="left"
2021-03-31 14:12:10 +08:00
open_im_when_focused="false"
2022-06-17 16:45:55 +08:00
options="left;center;right\\x3b;">
<button style="combobox_down" x="right:5" y="middle" w="20" h="20"/>
</combo_box>
2021-05-06 17:19:45 +08:00
<combo_box open_window="color" readonly="true" x="10" y="50" w="200" h="30" text="red"/>
2022-06-07 08:13:00 +08:00
<combo_box_ex x="10" y="100" w="200" h="30" options="1;2;3;4;5;6;7;8;9;0;11;22;33;44;55" theme_of_popup="number"/>
2018-12-18 10:06:38 +08:00
2023-12-04 17:02:36 +08:00
<combo_box style="auto_center" readonly="true" x="5" y="bottom:5" w="45%" h="30" options="tcp://localhost:80;serial://COM1;serial://COM2"/>
2019-09-27 06:46:38 +08:00
<combo_box open_window="language" readonly="true" x="5" y="bottom:50" w="45%" h="30" tr_text="english"/>
2023-11-24 18:39:09 +08:00
<combo_box style="auto_center" readonly="true" x="right:5" y="bottom:5" w="45%" h="30" text="ok"
2019-09-27 06:46:38 +08:00
localize_options="false"
options="1:ok;2:cancel;"/>
2018-07-26 19:05:15 +08:00
2022-12-05 12:03:22 +08:00
<combo_box_ex x="0" y="middle:-60" w="100" h="30" options="seperator.basic;33;44;55;seperator.user;hello;world;it is long option" text="33" readonly="true"/>
2023-02-17 17:09:49 +08:00
<combo_box open_window="fruit" x="r" y="middle:-60" w="150" h="30" readonly="true" text="apple $5.0"/>
2022-12-05 12:03:22 +08:00
2019-01-04 16:16:27 +08:00
<label name="old_value" x="center" y="middle:-20" w="50%" h="30" text=""/>
<label name="value" x="center" y="middle:20" w="50%" h="30" text=""/>
2020-02-24 09:10:49 +08:00
<button name="close" self_layout="default(x=center,y=m:50,w=50%,h=30)"
floating="true" text="Close"/>
2023-04-24 17:21:28 +08:00
<combo_box_ex name="combo_box_ex_for_clone" readonly="true" x="0" y="middle:100" w="100" h="30" options="1;2;3;4;5;6;7;8" theme_of_popup="number"/>
<button name="clone_combo_box_ex" self_layout="default(x=center,y=m:100,w=50,h=30)" floating="true" text="Clone"/>
2018-07-26 19:05:15 +08:00
</window>