application/main.c

changeset 490
0206161e92d5
parent 489
073a5e893050
--- a/application/main.c	Thu Mar 06 19:51:26 2025 +0100
+++ b/application/main.c	Thu Mar 06 20:19:49 2025 +0100
@@ -502,7 +502,7 @@
           cxstring html = CX_STR("<html><body><h1>Hello Toolkit</h1><p>Toolkit WebView</p></body></html>");
           ui_webview_load_content(doc->web, "mypage", html.ptr, html.length, NULL, NULL);
 #else
-          ui_label(obj, "Webview is not supported");
+          ui_label(obj, .label = "Webview is not supported");
 #endif
         }
         ui_tab(obj, "Tab 10") {

mercurial