28 #include "YSingleChildContainerWidget.h"
HSquash, VSquash HVSquash: reduce child to its preferred size.
YSquash(YWidget *parent, bool horSquash, bool vertSquash)
Constructor.
bool stretchable(YUIDimension dim) const
In a squashed dimension the widget NOT stretchable.
virtual ~YSquash()
Destructor.
bool vertSquash() const
Returns 'true' if this widget squashes vertically.
virtual const char * widgetClass() const
Returns a descriptive name of this widget class for logging, debugging etc.
bool horSquash() const
Returns 'true' if this widget squashes horizontally.