LayoutParams defines size preferences for a TBWidget that are set on the widget to override size preferences from skin and widget.
More...
#include <tb_widgets.h>
|
|
| LayoutParams (int w, int h) |
| |
| void | SetWidth (int width) |
| | Set both min max and preferred width to the given width. More...
|
| |
| void | SetHeight (int height) |
| | Set both min max and preferred height to the given height. More...
|
| |
|
|
int | min_w |
| |
|
int | min_h |
| | The minimal preferred width and height.
|
| |
|
int | max_w |
| |
|
int | max_h |
| | The maximum preferred width and height.
|
| |
|
int | pref_w |
| |
|
int | pref_h |
| | The preferred width and height.
|
| |
|
|
static const int | UNSPECIFIED = TB_INVALID_DIMENSION |
| |
LayoutParams defines size preferences for a TBWidget that are set on the widget to override size preferences from skin and widget.
| void tb::LayoutParams::SetHeight |
( |
int |
height | ) |
|
|
inline |
Set both min max and preferred height to the given height.
| void tb::LayoutParams::SetWidth |
( |
int |
width | ) |
|
|
inline |
Set both min max and preferred width to the given width.
The documentation for this class was generated from the following file: