fix missing textarea fill property in the resoureviewer window

Sat, 04 Oct 2025 14:54:25 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 04 Oct 2025 14:54:25 +0200
changeset 111
81c4f73236a4
parent 110
c00e968d018b
child 112
c3f2f16fa4b8

fix missing textarea fill property in the resoureviewer window

application/window.c file | annotate | diff | comparison | revisions
--- a/application/window.c	Sat Oct 04 14:52:59 2025 +0200
+++ b/application/window.c	Sat Oct 04 14:54:25 2025 +0200
@@ -213,7 +213,7 @@
             ui_tabview(win, .fill = TRUE) {
                 if(type == DAV_RESOURCE_VIEW_TEXT) {
                     ui_tab(win, "Content") {
-                        ui_textarea(win, .varname = "text", .onchange = action_resourceviewer_text_modified);
+                        ui_textarea(win, .varname = "text", .onchange = action_resourceviewer_text_modified, .fill = TRUE);
                     }
                 } else if(type == DAV_RESOURCE_VIEW_IMAGE) {
                     ui_tab(win, "Preview") {

mercurial