From 43a75e4e9be56c58be5e224f19016bb14b56a7ef Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 4 Jun 2013 22:13:31 +0300 Subject: [PATCH] Set expand flag in Row and Column layouts on all widgets --- source/column.cpp | 2 +- source/row.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.43.0