diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-11-02 22:25:49 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-11-02 22:25:54 +0100 |
| commit | c22a7bb6a72fe9e2044b01fc26ddadda2aed2574 (patch) | |
| tree | e10820b89ed6d8d4657eb3714c6ed3d35e6e2afb /fluid/Fl_Grid_Type.cxx | |
| parent | 7c6266f67ef12f24e165fcb975b134dd867b2d45 (diff) | |
FLUID: Restructures user documentation.
Diffstat (limited to 'fluid/Fl_Grid_Type.cxx')
| -rw-r--r-- | fluid/Fl_Grid_Type.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/Fl_Grid_Type.cxx b/fluid/Fl_Grid_Type.cxx index dca886153..c12e7974f 100644 --- a/fluid/Fl_Grid_Type.cxx +++ b/fluid/Fl_Grid_Type.cxx @@ -412,12 +412,12 @@ void Fl_Grid_Type::child_resized(Fl_Widget_Type *child_type) { Fl_Grid *grid = (Fl_Grid*)o; Fl_Widget *child = child_type->o; Fl_Grid::Cell *cell = grid->cell(child); - if (cell && ((cell->align()&FL_GRID_HORIZONTAL)==0)) { + if (cell && ((cell->align()&FL_GRID_VERTICAL)==0)) { int min_w = 0, min_h = 0; cell->minimum_size(&min_w, &min_h); cell->minimum_size(min_w, child->h()); } - if (cell && ((cell->align()&FL_GRID_VERTICAL)==0)) { + if (cell && ((cell->align()&FL_GRID_HORIZONTAL)==0)) { int min_w = 0, min_h = 0; cell->minimum_size(&min_w, &min_h); cell->minimum_size(child->w(), min_h); |
