Many widgets assume their default size if the applications sets the width and height resources of widget to zero, so applications request the default size this way. This is sometimes called shrink-wrapping if the widget is composite since the widget changes to a size just large enough to hold all the children. Application writers should consult the widget documentation to see if a widget class supports this behavior.
[ Xraw home ]   [ Xraw widget class hierarchy ]