You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using navifation i swapped the swipe_en and swipe True and false. also i tried with starting page 0 to force the load of the controls but no luck..
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
i tried to get swipes working nativly for the whole pages and or by aera i can get swipes working
but i cannot get the buttons to work ;/
anyone with a working example?
this is mine
`{ "comment": "---------- Page 0 header Controls ----------" }
{ "page": 0, "id": 1, "obj": "img", "x": 0, "y": 0, "w": 480, "h": 40, "src": "L:/gradient_ios_blue_light_to_dark.png", "auto_size": false, "zoom": 256, "offset_x": 0, "offset_y": 0, "angle": 0, "antialias": false }
{ "page": 0, "id": 2, "obj": "label", "x": 5, "y": -7, "w": 480, "h": 40, "text_color": "#FFFFFF", "align": "left", "text": "Keuken" }
{ "page": 0, "id": 3, "obj": "label", "x": -5, "y": -7, "w": 480, "h": 40, "text_color": "#FFFFFF", "align": "right", "text": "98:80:00", "template": "%H:%M:%S" }
{ "comment": "---------- Page 0 footer Controls ----------" }
{ "page": 0, "id": 201, "obj": "img", "x": 0, "y": 440, "w": 480, "h": 40, "src": "L:/gradient_ios_blue_dark_to_light.png", "auto_size": false, "zoom": 256, "offset_x": 0, "offset_y": 0, "angle": 0, "antialias": false }
{"page": 0, "id": 204, "obj": "label", "x": 0, "y": 440, "w": 95, "h": 40, "text": "00.0°C", "align": 2, "bg_color": "#2C3E50", "text_color": "#FFFFFF"}
{ "page": 0, "id": 205, "obj": "label", "x": 360, "y": 440, "w": 150, "h": 40, "text_color": "#FFFFFF", "align": "center", "text": "25/03/2025", "template": "%d/%m/%Y" }
{ "comment": "---------- Page Controls ----------" }
{"page": 1, "id": 2, "obj": "btn", "x": 40, "y": 70, "w": 180, "h": 80, "toggle": true, "text": "", "text_font": 48, "mode": "break", "align": 1}
{"page": 1, "id": 3, "obj": "obj", "x": 40, "y": 150, "w": 180,"h": 40,"bg_color":"#2C3E50"}
{"page": 1, "id": 4, "obj": "label", "x": 00, "y": 10, "w": 180, "h": 20, "text": "Hanglamp", "text_font": 20, "mode": "break", "align": 1,"parentid":3}
{"page": 1, "id": 5, "obj": "btn", "x": 260, "y": 70, "w": 180, "h": 80, "toggle": true, "text": "", "text_font": 48, "mode": "break", "align": 1}
{"page": 1, "id": 6, "obj": "obj", "x": 260, "y": 150, "w": 180,"h": 40,"bg_color":"#2C3E50"}
{"page": 1, "id": 7, "obj": "label", "x": 00, "y": 10, "w": 180, "h": 20, "text": "Plafond", "text_font": 20, "mode": "break", "align": 1,"parentid":6}
{"page": 1, "id": 8, "obj": "btn", "x": 40, "y": 230, "w": 180, "h": 80, "toggle": true, "text": "", "text_font": 48, "mode": "break", "align": 1}
{"page": 1, "id": 9, "obj": "obj", "x": 40, "y": 310, "w": 180,"h": 40,"bg_color":"#2C3E50"}
{"page": 1, "id": 10, "obj": "label", "x": 00, "y": 10, "w": 180, "h": 20, "text": "Afzuigkap", "text_font": 20, "mode": "break", "align": 1,"parentid":9}
{"page": 1, "id": 11, "obj": "btn", "x": 260, "y": 230, "w": 180, "h": 80, "toggle": true, "text": "", "text_font": 48, "mode": "break", "align": 1}
{"page": 1, "id": 12, "obj": "obj", "x": 260, "y": 310, "w": 180,"h": 40,"bg_color":"#2C3E50"}
{"page": 1, "id": 13, "obj": "label", "x": 00, "y": 10, "w": 180, "h": 20, "text": "Koffie Hoek", "text_font": 20, "mode": "break", "align": 1,"parentid":12}
{"page": 2, "id": 24, "obj": "cpicker", "x": 20, "y": 70, "w": 200, "h": 200}
{"page": 3, "id": 34, "obj": "btn", "x": 260, "y": 70, "w": 180, "h": 120, "toggle": true, "text": "", "text_font": 48, "mode": "break", "align": 1}
{ "comment": "---------- Swipe Controls ----------" }
{ "page": 1, "id": 101, "prev": 1, "next": 2 }
{ "page": 2, "id": 102, "prev": 1, "next": 3 }
{ "page": 3, "id": 103, "prev": 2, "next": 3 }
{"page": 1, "id": 99, "obj": "obj", "swipe": 1, "x": 0, "y": 0, "w": 480, "h": 480, "opacity": 0, "event": {"swipe_up": "page=1", "swipe_down": "page=1", "swipe_left": "page=1", "swipe_right": "page=1"}}
{"page": 2, "id": 99, "obj": "obj", "swipe": 1, "x": 0, "y": 0, "w": 480, "h": 480, "opacity": 0, "event": {"swipe_up": "page=1", "swipe_down": "page=1", "swipe_left": "page=1", "swipe_right": "page=1"}}
{"page": 3, "id": 99, "obj": "obj", "swipe": 1, "x": 0, "y": 0, "w": 480, "h": 480, "opacity": 0, "event": {"swipe_up": "page=1", "swipe_down": "page=1", "swipe_left": "page=1", "swipe_right": "page=1"}}`
i get only the swipe working or the press buttons with navigation buttons
but not swipe i also tried a native swipe and area swipe.
does anyone has tried this ? to swip without navigations
"gui": { "enabled": true, "swipe_en": true, "swipe": false, "page_restore": false, "startup_page": 1,
when using navifation i swapped the swipe_en and swipe True and false. also i tried with starting page 0 to force the load of the controls but no luck..
any help is appriciated
thx
Beta Was this translation helpful? Give feedback.
All reactions