ui/win32/grid.c

changeset 843
9d958108c415
parent 841
651cf2c59dd9
child 844
3106d9ca2f9c
equal deleted inserted replaced
842:2ba50231b255 843:9d958108c415
288 } 288 }
289 289
290 child_x = col->pos + elm->layout.margin.left; 290 child_x = col->pos + elm->layout.margin.left;
291 child_y = row->pos + elm->layout.margin.top; 291 child_y = row->pos + elm->layout.margin.top;
292 SetWindowPos(elm->widget->hwnd, NULL, child_x, child_y, child_width, child_height, SWP_NOZORDER); 292 SetWindowPos(elm->widget->hwnd, NULL, child_x, child_y, child_width, child_height, SWP_NOZORDER);
293 if (elm->widget->layout) {
294 elm->widget->layout(elm->widget->layoutmanager, child_width, child_height);
295 }
293 } 296 }
294 297
295 free(cols); 298 free(cols);
296 free(rows); 299 free(rows);
297 } 300 }

mercurial