ui/win32/grid.c

changeset 841
651cf2c59dd9
parent 818
8185cd761897
child 844
3106d9ca2f9c
--- a/ui/win32/grid.c	Sun Oct 12 09:17:37 2025 +0200
+++ b/ui/win32/grid.c	Sun Oct 12 12:01:03 2025 +0200
@@ -290,6 +290,9 @@
         child_x = col->pos + elm->layout.margin.left;
         child_y = row->pos + elm->layout.margin.top;
         SetWindowPos(elm->widget->hwnd, NULL, child_x, child_y, child_width, child_height, SWP_NOZORDER);
+        if (elm->widget->layout) {
+            elm->widget->layout(elm->widget->layoutmanager, child_width, child_height);
+        }
     }
 
     free(cols);

mercurial