ui/win32/grid.c

changeset 891
0804fc9298f6
parent 844
3106d9ca2f9c
child 892
0fbaac4aafc8
--- a/ui/win32/grid.c	Tue Nov 04 20:38:19 2025 +0100
+++ b/ui/win32/grid.c	Tue Nov 11 14:27:54 2025 +0100
@@ -294,6 +294,8 @@
         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);
+        InvalidateRect(elm->widget->hwnd, NULL, TRUE);
+        UpdateWindow(elm->widget->hwnd);
         if (elm->widget->layout) {
             elm->widget->layout(elm->widget->layoutmanager, child_width, child_height);
         }

mercurial