[squeak-dev] Problem with ProportionalSplitters

Robert Krahn robert.krahn at googlemail.com
Sun Sep 27 23:07:10 UTC 2009


Hi,

In the recent trunk version the browser is screwed up if one tries to  
resize the code pane with its splitter (see below).

Robert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2009-09-28 at 1.00.07 AM.png
Type: image/png
Size: 24864 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090928/4175205a/Screenshot2009-09-28at1.00.07AM.png
-------------- next part --------------


On Aug 17, 2009, at 12:29 AM, Alexander Lazarevi? wrote:

> Hi!
>
> I guess not too many use ProportionalSplitters to change the layout of
> windows these days, but they are broken in the latest trunk image.
> This is because the Method containingWindow in Morph has changed. The
> containing Window is now searched based on the model of the component,
> but ProportionalSplitters do have no model.
> A quick fix is to look up the owner chain of a ProportionalSplitter to
> find an owner that has a model. Most of the time (always?) the owner
> will be the containing window, so I don't know if the ifFalse: Branch
> is needed.
> I will publish this fix so ProportionalSplitters should work again
> until someone with better insights has a better solution.
>
> Alex
>



More information about the Squeak-dev mailing list