Issue 3553 in pharo: GeneralScrollPane should support both spaceFill and shrinkWrap

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 3553 in pharo: GeneralScrollPane should support both spaceFill and shrinkWrap

pharo
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=3553

We 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


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3553 in pharo: GeneralScrollPane should support both spaceFill and shrinkWrap

pharo

Comment #1 on issue 3553 by [hidden email]: GeneralScrollPane should  
support both spaceFill and shrinkWrap
http://code.google.com/p/pharo/issues/detail?id=3553

I committed a SLICE in PharoInbox with Gary's changeset:

Name:  
SLICE-Issue-3553-GeneralScrollPane-should-support-both-spaceFill-and-shrinkWrap-TudorGirba.1
Author: TudorGirba
Time: 19 January 2011, 9:18:33 pm
UUID: 88a790ab-e35b-49d7-b8d4-b4331a997211
Ancestors:
Dependencies: Polymorph-Widgets-TudorGirba.368


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3553 in pharo: GeneralScrollPane should support both spaceFill and shrinkWrap

pharo
Updates:
        Status: Fixed
        Labels: Milestone-1.3

Comment #2 on issue 3553 by [hidden email]: GeneralScrollPane should  
support both spaceFill and shrinkWrap
http://code.google.com/p/pharo/issues/detail?id=3553

12312

TODO: 1.3


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3553 in pharo: GeneralScrollPane should support both spaceFill and shrinkWrap

pharo

Comment #3 on issue 3553 by [hidden email]: GeneralScrollPane should  
support both spaceFill and shrinkWrap
http://code.google.com/p/pharo/issues/detail?id=3553

Thanks, Marcus.


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3553 in pharo: GeneralScrollPane should support both spaceFill and shrinkWrap

pharo
Updates:
        Status: Closed

Comment #4 on issue 3553 by [hidden email]: GeneralScrollPane should  
support both spaceFill and shrinkWrap
http://code.google.com/p/pharo/issues/detail?id=3553

13003