From: Mikko Rasa Date: Tue, 4 Jun 2013 19:13:31 +0000 (+0300) Subject: Set expand flag in Row and Column layouts on all widgets X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=commitdiff_plain;h=43a75e4e9be56c58be5e224f19016bb14b56a7ef Set expand flag in Row and Column layouts on all widgets --- diff --git a/source/column.cpp b/source/column.cpp index 5b86660..3a7a149 100644 --- a/source/column.cpp +++ b/source/column.cpp @@ -19,8 +19,8 @@ Layout::Slot *Column::create_slot(Widget &w) slot->constraints.push_back(Constraint(ALIGN_RIGHT, prev)); if(uniform) slot->constraints.push_back(Constraint(COPY_HEIGHT, prev)); - slot->horiz_pack.expand = true; } + slot->horiz_pack.expand = true; return slot; } diff --git a/source/row.cpp b/source/row.cpp index 30e1811..8eb6bd4 100644 --- a/source/row.cpp +++ b/source/row.cpp @@ -19,8 +19,8 @@ Layout::Slot *Row::create_slot(Widget &w) slot->constraints.push_back(Constraint(ALIGN_BOTTOM, prev)); if(uniform) slot->constraints.push_back(Constraint(COPY_WIDTH, prev)); - slot->vert_pack.expand = true; } + slot->vert_pack.expand = true; return slot; }