]> git.tdb.fi Git - libs/gltk.git/blob - source/column.cpp
Combine common parts of Column and Row into LinearArrangement
[libs/gltk.git] / source / column.cpp
1 #include "column.h"
2
3 namespace Msp {
4 namespace GLtk {
5
6 Column::Column(Layout &l):
7         LinearArrangement(l, BOTTOM)
8 { }
9
10 void Column::finish_widget(Widget &wdg)
11 {
12         layout.set_gravity(wdg, -1, (gravity==BOTTOM ? -1 : 1));
13 }
14
15 } // namespace GLtk
16 } // namespace Msp