ui/win32/grid.c

changeset 841
651cf2c59dd9
parent 818
8185cd761897
child 844
3106d9ca2f9c
equal deleted inserted replaced
840:f74250eda598 841:651cf2c59dd9
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