application/main.c

changeset 530
7992a44fe719
parent 529
0a4a6b0d1c82
child 532
80a6d8923d75
--- a/application/main.c	Sat Mar 29 18:17:01 2025 +0100
+++ b/application/main.c	Sat Mar 29 20:03:25 2025 +0100
@@ -480,7 +480,7 @@
         }
         ui_tab(obj, "Tab 5") {
             ui_button(obj, .label = "Test Button", .icon = "application-x-generic", .onclick = action_button);
-            ui_imageviewer(obj, .varname = "image", .style_class = "imageviewer", .contextmenu = menubuilder, .scrollarea = TRUE);
+            ui_imageviewer(obj, .varname = "image", .style_class = "imageviewer", .contextmenu = menubuilder, .scrollarea = TRUE, .useradjustable = TRUE);
         }
         
         ui_tab(obj, "Tab 6") {

mercurial