Status: Accepted
Owner: tudor.gi...@gmail.com
Labels: Milestone-1.2 Type-Patch Importance-Low

New issue 3570 by tudor.gi...@gmail.com: EdgeGripMorph DNU when resizing
http://code.google.com/p/pharo/issues/detail?id=3570

From Andreas Wacknitz:

1. downloaded 12303:
https://pharo-ic.lille.inria.fr/hudson/view/Pharo/job/Pharo%201.2/67/artifact/Pharo-1.2/*zip*/Pharo-1.2.zip

2. filed in the attached CS

3. executed


| m leftMorph scroll |
m := PanelMorph new.
m
hResizing: #shrinkWrap;
vResizing: #spaceFill;
changeTableLayout;
listDirection: #leftToRight.
m addMorphBack: (leftMorph := Morph new
color: Color red;
minimumExtent: 150@10;
extent: 150@10;
hResizing: #rigid; "shown for clarity, is the default"
vResizing: #spaceFill).
m addMorphBack: (EdgeGripMorph new
width: ProportionalSplitterMorph splitterWidth;
hResizing: #rigid; "not the default this time, vResizing is also #spaceFill by default"
target: leftMorph).
m addMorphBack: (Morph new
color: Color green;
minWidth: 100;
hResizing: #shrinkWrap;
vResizing: #spaceFill).

scroll := GeneralScrollPane new
changeScrollerTableLayout;
scrollTarget: m.
scroll openInWindow.

4.  When I execute the code in a Workspace a little dialog will open.
It has a horizontal scroll bar that I can use. As soon as I move the splitter I will get the aforementioned DNU.
I am on Mac OS 10.6.6.


Reply via email to