#include <csboxlay.h>
Inheritance diagram for csBoxLayout:
Public Types | |
enum | AXIS_ORIENTATIONS { X_AXIS = 0, Y_AXIS = 1 } |
Public Methods | |
csBoxLayout (csComponent *pParent, int axis) | |
Set axis to 0 to align the components along the x-axis in the middle of this layout component. To align along y axis set axis to 1. | |
virtual void | SuggestSize (int &sugw, int &sugh) |
return best size for this layout. | |
virtual void | LayoutContainer () |
recalc positions and sizes of components. | |
Protected Attributes | |
int | mAxis |