Packing horiz_pack;
Packing vert_pack;
bool ghost;
+ bool floating;
Slot(Layout &, Widget &);
Container *container;
std::list<Slot *> slots;
unsigned n_active_slots;
- unsigned n_slack_constraints[2];
+ unsigned n_slack_vars[2];
Sides margin;
unsigned row_spacing;
unsigned col_spacing;
/// Sets a widget as a ghost, taking up space even if it is hidden.
void set_ghost(Widget &, bool);
+ void set_floating(Widget &, bool);
+
void update();
void autosize(Geometry &);