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