Files
luban-lite-t3e-pro/packages/third-party/awtk-ui/awtk/design/default/ui/edit.xml
2025-09-30 11:56:06 +08:00

128 lines
7.6 KiB
XML

<window anim_hint="htranslate" >
<list_view x="0" y="0" w="100%" h="-50" default_item_height="36" auto_hide_scroll_bar="true">
<scroll_view name="view" x="0" y="0" w="-12" h="100%">
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Age"/>
<edit w="70%" right_margin="16" tips="uint(0-150) auto_fix" input_type="uint" min="0" max="150" step="1" auto_fix="true" style="number" focused="true">
<button name="inc" repeat="300" style="spinbox_up" x="right" y="0" w="15" h="50%" />
<button name="dec" repeat="300" style="spinbox_down" x="right" y="bottom" w="15" h="50%" />
</edit>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Weight"/>
<edit w="70%" right_margin="16" tips="ufloat(10-150) auto_fix" input_type="ufloat" min="10" max="150" step="0.1" auto_fix="true" style="number">
<button name="inc" repeat="300" style="spinbox_up" x="right" y="0" w="15" h="50%" />
<button name="dec" repeat="300" style="spinbox_down" x="right" y="bottom" w="15" h="50%" />
</edit>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Age"/>
<edit w="70%" right_margin="16" tips="uint(0-150)" input_type="uint" min="0" max="150" step="1">
<button name="inc" repeat="300" style="spinbox_up" x="right" y="0" w="15" h="50%" />
<button name="dec" repeat="300" style="spinbox_down" x="right" y="bottom" w="15" h="50%" />
</edit>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Weight"/>
<edit w="70%" right_margin="16" tips="ufloat(10-150)" input_type="ufloat" min="10" max="150" step="0.1">
<button name="inc" repeat="300" style="spinbox_up" x="right" y="0" w="15" h="50%" />
<button name="dec" repeat="300" style="spinbox_down" x="right" y="bottom" w="15" h="50%" />
</edit>
</list_item>
<list_item style="empty" h="128">
<view x="c" y="10" w="200" h="100">
<edit name="year" style="center" x="0" y="0" w="80" h="100%" top_margin="36" bottom_margin="36"
tips="year" input_type="uint" min="1000" max="3000" step="1" auto_fix="true" text="2021">
<button name="inc" repeat="300" x="0" y="0" w="100%" h="36" text="+"/>
<button name="dec" repeat="300" x="0" y="bottom" w="100%" h="36" text="-"/>
</edit>
<edit name="month" style="center" x="90" y="0" w="50" h="100%" top_margin="36" bottom_margin="36"
tips="month" input_type="uint" min="1" max="12" step="1" auto_fix="true" text="1">
<button name="inc" repeat="300" x="0" y="0" w="100%" h="36" text="+"/>
<button name="dec" repeat="300" x="0" y="bottom" w="100%" h="36" text="-"/>
</edit>
<edit name="day" style="center" x="145" y="0" w="50" h="100%" top_margin="36" bottom_margin="36" tips="day" input_type="uint" min="1" max="31" step="1" auto_fix="true" text="1">
<button name="inc" repeat="300" x="0" y="0" w="100%" h="36" text="+"/>
<button name="dec" repeat="300" x="0" y="bottom" w="100%" h="36" text="-"/>
</edit>
</view>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Age"/>
<edit style="center" w="70%" left_margin="34" right_margin="34" tips="uint(0-150)" input_type="uint" min="0" max="150" step="1" auto_fix="true">
<button name="dec" repeat="300" style="spinbox_left" x="0" y="0" w="30" h="100%" />
<button name="inc" repeat="300" style="spinbox_right" x="right" y="bottom" w="30" h="100%" />
</edit>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Weight"/>
<edit style="center" w="70%" left_margin="34" right_margin="34" tips="uint(0-150)" input_type="uint" min="0" max="150" step="1" auto_fix="true">
<button name="dec" repeat="300" style="spinbox_left" x="0" y="0" w="30" h="100%" />
<button name="inc" repeat="300" style="spinbox_right" x="right" y="bottom" w="30" h="100%" />
</edit>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Password"/>
<edit w="70%" right_margin="30" input_type="password" action_text="next">
<check_button style="password_visible" name="visible" x="right" y="0" w="24" h="100%" />
</edit>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Text"/>
<edit w="70%" left_margin="34" tips="searth" min="0" max="150" step="0.1" action_text="next">
<image draw_type="icon" image="find" x="0" y="0" w="30" h="100%" />
</edit>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Text"/>
<edit style="dark" w="70%" right_margin="34" tips="searth" min="0" max="150" step="0.1" action_text="done">
<button name="clear" style="edit_clear" x="right" y="bottom" w="30" h="100%" />
</edit>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Text"/>
<edit w="70%" text="readonly" readonly="true"/>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Text"/>
<edit w="70%" style="line" tips="underline" text="" action_text=""/>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Custom"/>
<edit w="70%" tips="custom keyboard" text="" keyboard="kb_foo" cancelable="true"/>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Time"/>
<edit w="70%" tips="custom keyboard" text="" input_type="time_full" auto_fix="true" keyboard="kb_foo" cancelable="true"/>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Date"/>
<edit w="70%" tips="custom keyboard" text="" input_type="date" auto_fix="true" keyboard="kb_foo" cancelable="true"/>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="IPV4"/>
<edit w="70%" tips="custom keyboard" text="" input_type="ipv4" auto_fix="true" keyboard="kb_foo" cancelable="true"/>
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Age"/>
<spin_box w="70%" right_margin="16" tips="uint(0-150) auto_fix" input_type="uint" min="0" max="150" step="1" auto_fix="true" repeat="50" style="number" />
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="Max Uint"/>
<edit w="70%" right_margin="16" min="0" max="4294967295" step="1" name="edit" auto_fix="true" input_type="uint" />
</list_item>
<list_item style="empty" children_layout="default(r=1,c=0,ym=1)">
<label w="30%" text="الصين" style.font_name="trado"/>
<edit w="70%" style="line" tips="bidi" text="الصين" action_text="done" style="bidi"/>
</list_item>
</scroll_view>
<scroll_bar_d name="bar" x="right" y="0" w="12" h="100%" value="0"/>
</list_view>
<button name="close" x="center" y="bottom:10" w="25%" h="30" text="Close"/>
</window>