# HG changeset patch # User Claus Gittinger # Date 1212150331 -7200 # Node ID a9c60093561aa1cceffe43ceda206b238f34716a # Parent c37fb02785bcd8c7a84fa21edf38aee22429671d added preferredWidth & preferredHeight diff -r c37fb02785bc -r a9c60093561a UIPainterView.st --- a/UIPainterView.st Fri May 30 11:05:07 2008 +0200 +++ b/UIPainterView.st Fri May 30 14:25:31 2008 +0200 @@ -2347,10 +2347,10 @@ spec useDefaultExtent ifTrue:[ fix := aSubView sizeFixed:false. aView class == VerticalPanelView ifTrue:[ - aSubView height:aSubView preferredExtent y. + aSubView height:aSubView preferredHeight. ] ifFalse:[ aView class == HorizontalPanelView ifTrue:[ - aSubView width:aSubView preferredExtent x. + aSubView width:aSubView preferredWidth. ] ifFalse:[ aSubView extent:aSubView preferredExtent. ].