19 void Row::process_widget(Widget &wdg, Side side, bool aligned)
23 bool snug = (edges[RIGHT].aligned && aligned && !split_here);
24 add_constraint(wdg, (snug ? Layout::RIGHT_OF : Layout::FAR_RIGHT_OF), RIGHT);
26 edges[LEFT].add(wdg, aligned);
29 next_right.add(wdg, (aligned && gravity>0));
32 if(edges[side].aligned && aligned)
33 add_constraint(wdg, (side==TOP ? Layout::ALIGN_TOP : Layout::ALIGN_BOTTOM), side);
34 edges[side].add(wdg, aligned);
38 void Row::finish_widget(Widget &wdg)
40 layout.set_gravity(wdg, gravity, 1);
43 void Row::finish_slot()
45 edges[RIGHT] = next_right;
52 Row::Loader::Loader(Row &c):
53 DataFile::ObjectLoader<Row>(c)
55 add("split", &Loader::split);
58 void Row::Loader::split()