![]() |
Public API Reference |
#include <csboxlay.h>
Inheritance diagram for csBoxLayout:

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. More... | |
| virtual void | SuggestSize (int &sugw, int &sugh) |
| return best size for this layout. More... | |
| virtual void | LayoutContainer () |
| recalc positions and sizes of components. More... | |
Definition at line 33 of file csboxlay.h.
|
||||||||||||
|
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.
|
|
|
recalc positions and sizes of components.
Implements csLayout. |
|
||||||||||||
|
return best size for this layout.
Implements csLayout. |