]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/column.cpp
Set expand flag in Row and Column layouts on all widgets
[libs/gltk.git] / source / column.cpp
index 5b86660dd21d56f1c4a174b96cbf229ebeb0607f..3a7a149f98ebce3a524cfd25538883d64cb75108 100644 (file)
@@ -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;
 }