Re: [UFO-devel] UWidget::getPreferredSize()
Status: Beta
Brought to you by:
schmidtjf
From: Johannes S. <sch...@us...> - 2005-07-20 10:19:11
|
Am Samstag 16 Juli 2005 22:28 schrieb Andreas Beckermann: > Hi > ufo::UWidget::getPreferredSize() returns the maxSize parameter, if > maxSize.isEmpty() is true. > I believe it is better to use ufo::UDimension() instead, i.e. (0,0). The > reson for this is, that the widget should does not have any size anyway (as > size in one direction is 0), but layouts may get confused by the maxSize > value in the other direction. Thanks, should be in (developer) CVS. cu, Johannes |