Navigation page added
This commit is contained in:
@@ -483,6 +483,53 @@ lvgl:
|
|||||||
align: TOP_MID
|
align: TOP_MID
|
||||||
id: header_page_main
|
id: header_page_main
|
||||||
styles: header_footer
|
styles: header_footer
|
||||||
|
widgets:
|
||||||
|
- label:
|
||||||
|
text: "Main Menu"
|
||||||
|
align: CENTER
|
||||||
|
text_align: CENTER
|
||||||
|
text_color: 0x00FF00
|
||||||
|
- buttonmatrix:
|
||||||
|
id: mainMenuMatrix
|
||||||
|
x: 10
|
||||||
|
y: 45
|
||||||
|
width: 220
|
||||||
|
height: 220
|
||||||
|
rows:
|
||||||
|
- buttons:
|
||||||
|
- id: navAdesOffice
|
||||||
|
text: "Ade's Office"
|
||||||
|
on_press:
|
||||||
|
then:
|
||||||
|
- lvgl.page.show:
|
||||||
|
id: ades_office_page
|
||||||
|
animation: FADE_IN
|
||||||
|
time: 300ms
|
||||||
|
- id: navGroundFloor
|
||||||
|
text: "Ground Floor"
|
||||||
|
on_press:
|
||||||
|
then:
|
||||||
|
- lvgl.page.show:
|
||||||
|
id: ground_floor_page
|
||||||
|
animation: FADE_IN
|
||||||
|
time: 300ms
|
||||||
|
- buttons:
|
||||||
|
- id: nav3dPrinter
|
||||||
|
text: "3D Printer"
|
||||||
|
on_press:
|
||||||
|
then:
|
||||||
|
- lvgl.page.show:
|
||||||
|
id: printer_status
|
||||||
|
animation: FADE_IN
|
||||||
|
time: 300ms
|
||||||
|
- id: navPlaceholder
|
||||||
|
text: ""
|
||||||
|
- id: ades_office_page
|
||||||
|
widgets:
|
||||||
|
- obj:
|
||||||
|
align: TOP_MID
|
||||||
|
id: header_page_ades_office
|
||||||
|
styles: header_footer
|
||||||
widgets:
|
widgets:
|
||||||
- label:
|
- label:
|
||||||
text: "Ade's Office"
|
text: "Ade's Office"
|
||||||
|
|||||||
Reference in New Issue
Block a user