display_list, add_display views (wip)
[skip ci]
This commit is contained in:
21
dash-frontend/assets/gui/view/add_display.xml
Normal file
21
dash-frontend/assets/gui/view/add_display.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<layout>
|
||||
<include src="../t_group_box.xml" />
|
||||
|
||||
<elements>
|
||||
<div gap="8" flex_direction="column" width="100%" justify_self="center" align_items="center" justify_content="center">
|
||||
<rectangle macro="group_box">
|
||||
<label translation="POPUP_ADD_DISPLAY.RESOLUTION" weight="bold" size="20" />
|
||||
<Slider id="slider_width" min_value="0" max_value="10" width="250" height="24" />
|
||||
<Slider id="slider_height" min_value="0" max_value="10" width="250" height="24" />
|
||||
<rectangle macro="group_box" id="rect_display">
|
||||
<label id="label_display" />
|
||||
</rectangle>
|
||||
</rectangle>
|
||||
<Button id="btn_confirm" color="#44ce22FF" padding_top="4" padding_bottom="4" round="8" padding_left="12" padding_right="12">
|
||||
<sprite src_builtin="dashboard/display.svg" width="32" height="32" />
|
||||
<label translation="ADD_DISPLAY" weight="bold" size="17" shadow="#00000099" />
|
||||
</Button>
|
||||
<label id="label_display_name" weight="bold" size="20" />
|
||||
</div>
|
||||
</elements>
|
||||
</layout>
|
||||
@@ -27,7 +27,7 @@
|
||||
<CheckBox text="Run in Wayland mode" checked="1" />
|
||||
<Separator />
|
||||
<Button color="#44ce22FF" padding_top="4" padding_bottom="4" round="8" padding_right="12">
|
||||
<sprite src="dashboard/play.svg" width="32" height="32" />
|
||||
<sprite src_builtin="dashboard/play.svg" width="32" height="32" />
|
||||
<label text="Launch embedded" weight="bold" size="17" shadow="#00000099" />
|
||||
</Button>
|
||||
<Separator />
|
||||
|
||||
10
dash-frontend/assets/gui/view/display_list.xml
Normal file
10
dash-frontend/assets/gui/view/display_list.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<layout>
|
||||
<include src="../t_group_box.xml" />
|
||||
|
||||
<elements>
|
||||
<rectangle macro="group_box" flex_direction="row">
|
||||
<div id="list_parent" />
|
||||
<Button id="btn_add" sprite_src_builtin="dashboard/add.svg" tooltip="ADD_DISPLAY" height="100%" width="32" />
|
||||
</rectangle>
|
||||
</elements>
|
||||
</layout>
|
||||
@@ -25,7 +25,7 @@
|
||||
<div gap="16" align_items="center">
|
||||
<!-- Back button -->
|
||||
<Button id="but_back" width="48" height="48" color="#ffffff00" border_color="#ffffff00">
|
||||
<sprite src="dashboard/back.svg" width="24" height="24" />
|
||||
<sprite src_builtin="dashboard/back.svg" width="24" height="24" />
|
||||
</Button>
|
||||
|
||||
<!-- Title -->
|
||||
|
||||
Reference in New Issue
Block a user