Status: Accepted
Owner:
[hidden email]
Labels: Milestone-1.2 Importance-Low Type-RequestForEnhancement
New issue 3553 by
[hidden email]: GeneralScrollPane should support
both spaceFill and shrinkWrap
http://code.google.com/p/pharo/issues/detail?id=3553We should be allowed to have a scroll bar that #spaceFill along one
dimensions and #shrinkWrap along another one.
The attached CS from Gary fixes the situation for GeneralScrollPane, and
the following script works as expected:
|m|
m := PanelMorph new.
m
fillStyle: Color green;
hResizing: #spaceFill;
vResizing: #spaceFill;
changeTableLayout;
layoutInset: 8.
m addMorph: (Morph new
height: 160;
minWidth: 100;
hResizing: #spaceFill;
vResizing: #shrinkWrap).
GeneralScrollPane new
changeScrollerTableLayout;
scrollTarget: m;
openInWindow
Attachments:
GeneralScrollPaneLayout.2.cs 1.7 KB