10 Layout::Slot *Row::create_slot(Widget &w)
12 Slot *slot = new Slot(*this, w);
16 Slot &prev = *slots.back();
17 slot->constraints.push_back(Constraint(RIGHT_OF, prev));
18 slot->constraints.push_back(Constraint(ALIGN_TOP, prev));
19 slot->constraints.push_back(Constraint(ALIGN_BOTTOM, prev));
21 slot->constraints.push_back(Constraint(COPY_WIDTH, prev));
23 slot->vert_pack.expand = true;