ui/win32/grid.c

changeset 843
9d958108c415
parent 841
651cf2c59dd9
child 844
3106d9ca2f9c
--- a/ui/win32/grid.c	Sun Oct 12 17:37:16 2025 +0200
+++ b/ui/win32/grid.c	Sun Oct 12 17:37:54 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