<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Many thanks, Gary. <br>
This package seems to include a lot of stuff I have been missing in the
release image.<br>
--Trygve<br>
<br>
On 02.06.2008 12:19, Gary Chambers wrote:
<blockquote
cite="mid:EMEILNKJEEDDBCEDKBNFMEDDDAAA.gazzaguru2@btinternet.com"
type="cite">
<title>--</title>
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.6000.16640" name="GENERATOR">
<div><span class="015551710-02062008"><font color="#0000ff"
face="Arial" size="2">The UI Enhancements package contains
modifications to provide the behaviour you are expecting.</font></span></div>
<div><span class="015551710-02062008"></span> </div>
<div><span class="015551710-02062008"><font color="#0000ff"
face="Arial" size="2"><a moz-do-not-send="true"
href="http://wiki.squeak.org/squeak/6005">http://wiki.squeak.org/squeak/6005</a></font></span></div>
<div><span class="015551710-02062008"></span> </div>
<div><span class="015551710-02062008"><font color="#0000ff"
face="Arial" size="2">Regards, Gary.</font></span></div>
<blockquote dir="ltr"
style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div class="OutlookMessageHeader" dir="ltr" align="left"><font
face="Tahoma" size="2">-----Original Message-----<br>
<b>From:</b> <a class="moz-txt-link-abbreviated" href="mailto:squeak-dev-bounces@lists.squeakfoundation.org">squeak-dev-bounces@lists.squeakfoundation.org</a>
[<a class="moz-txt-link-freetext" href="mailto:squeak-dev-bounces@lists.squeakfoundation.org">mailto:squeak-dev-bounces@lists.squeakfoundation.org</a>]<b>On Behalf Of </b>Trygve
Reenskaug<br>
<b>Sent:</b> 01 June 2008 8:53 PM<br>
<b>To:</b> The general-purpose Squeak developers list<br>
<b>Subject:</b> [squeak-dev] Questionable constraint in
ProportionalSplitterMorph<br>
<br>
</font></div>
Squeak3.10.gamma.7159, WinXP/SP2<br>
<br>
I have a window with four panes: <br>
top left: LayoutFrame fractions: (0@0 corner: <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:0.2@0.5">0.2@0.5</a>)).<br>
top right pane: LayoutFrame fractions: (0.2@0 corner: <a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:1@0.5">1@0.5</a>).<br>
bottom left pane: LayoutFrame fractions: (<a moz-do-not-send="true"
class="moz-txt-link-abbreviated" href="mailto:0@0.5">0@0.5</a> corner:
0.19@1).<br>
bottom right pane: LayoutFrame fractions: (<a moz-do-not-send="true"
class="moz-txt-link-abbreviated" href="mailto:0.19@0.5">0.19@0.5</a>
corner: 1@1).<br>
<br>
self addPaneSplitters does its impressive magic; <br>
a horizontal pane splitter right across the window at y=0.5<br>
two vertical pane splitters one between top left and top right and
another between bottom left and bottom right.<br>
(The latter two has 'splitsTopAndBottom'=false)<br>
<br>
The curious thing is that the two vertical pane splitters are linked;
any one of them cannot be moved past the other one. The constraint is
in these methods <br>
<i><b>ProportionalSplitterMorph>></b></i><br>
<b>normalizedX: x</b><br>
^ (x max: self leftBoundary) min: self rightBoundary<br>
<b>rightBoundary</b><br>
^ (self splitterRight ifNil: [self containingWindow
panelRect right] ifNotNil: [self splitterRight left]) - 50<br>
<b>splitterRight</b><br>
| splitters |<br>
splitters _ ((self siblingSplitters select: [:each | each x
> self x]) asSortedCollection: [:a :b | a x < b x]). <br>
^ splitters ifEmpty: nil ifNotEmpty: [splitters first]<br>
<b>siblingSplitters</b><br>
^ self owner submorphsSatisfying: [:each | (each isKindOf: self
class) and: [self splitsTopAndBottom = each splitsTopAndBottom] and:
[each ~= self]]<br>
<br>
Does anybody know the motivation for this curious behavior? The easiest
workaround would be to hack <b>siblingSplitters </b>to return an
empty collection. Perhaps it would be better with a new preference?
(Subclassing <i><b>ProportionalSplitterMorph</b></i> does not seem
practicable).<br>
<br>
I'll be grateful for enlightenment about this curious behavior.<br>
--Trygve<br>
<div class="moz-signature">-- <br>
<meta content="Word.Document" name="ProgId">
<meta content="Microsoft Word 10" name="Generator">
<meta content="Microsoft Word 10" name="Originator">
<link href="TrygveSignature-filer/filelist.xml" rel="File-List">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:HyphenationZone>21</w:HyphenationZone>
<w:PunctuationKerning/>
<w:DrawingGridHorizontalSpacing>6 pt</w:DrawingGridHorizontalSpacing>
<w:DrawingGridVerticalSpacing>6 pt</w:DrawingGridVerticalSpacing>
<w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
<w:DisplayVerticalDrawingGridEvery>3</w:DisplayVerticalDrawingGridEvery>
<w:UseMarginsForDrawingGridOrigin/>
<w:DoNotShadeFormData/>
<w:Compatibility>
<w:FootnoteLayoutLikeWW8/>
<w:ShapeLayoutLikeWW8/>
<w:AlignTablesRowByRow/>
<w:ForgetLastTabAlignment/>
<w:LayoutRawTableWidth/>
<w:LayoutTableRowsApart/>
<w:UseWord97LineBreakingRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>@page {mso-page-border-surround-header: no; mso-page-border-surround-footer: no; }
@page Section1 {size: 612.0pt 792.0pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; mso-header-margin: 35.4pt; mso-footer-margin: 35.4pt; mso-paper-source: 0; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
SPAN.SpellE {
        mso-style-name: ""; mso-spl-e: yes
}
SPAN.GramE {
        mso-style-name: ""; mso-gram-e: yes
}
DIV.Section1 {
        page: Section1
}
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Vanlig tabell";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span class="SpellE"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Trygve</span></span><span
style="font-size: 10pt; font-family: Arial;" lang="EN-GB"> Reenskaug<span>
</span>mailto: <span class="SpellE"><a moz-do-not-send="true"
class="moz-txt-link-abbreviated" href="mailto:trygver@ifi.uio.no">trygver@ifi.uio.no</a></span></span><span
style="font-size: 10pt; font-family: Arial;"><O:P></O:P></span></p>
<p class="MsoNormal"><span class="SpellE"><span class="GramE"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Morgedalsvn</span></span></span><span
class="GramE"><span style="font-size: 10pt; font-family: Arial;"
lang="EN-GB">.</span></span><span
style="font-size: 10pt; font-family: Arial;" lang="EN-GB"> 5A <span>
</span><a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://heim.ifi.uio.no/%7Etrygver">http://heim.ifi.uio.no/~trygver</a><O:P></O:P></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: Arial;">N-0378 Oslo<span>
</span>Tel: (+47) 22 49 57 27<O:P></O:P></span></p>
<p class="MsoNormal"><span class="SpellE"><span
style="font-size: 10pt; font-family: Arial;">Norway</span></span><span
style="font-size: 10pt; font-family: Arial;"><O:P></O:P></span></p>
</div>
</div>
</blockquote>
<pre wrap="">
<hr size="4" width="90%">
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 10">
<meta name="Originator" content="Microsoft Word 10">
<link rel="File-List" href="TrygveSignature-filer/filelist.xml">
<title>-- </title>
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:HyphenationZone>21</w:HyphenationZone>
<w:PunctuationKerning/>
<w:DrawingGridHorizontalSpacing>6 pt</w:DrawingGridHorizontalSpacing>
<w:DrawingGridVerticalSpacing>6 pt</w:DrawingGridVerticalSpacing>
<w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
<w:DisplayVerticalDrawingGridEvery>3</w:DisplayVerticalDrawingGridEvery>
<w:UseMarginsForDrawingGridOrigin/>
<w:DoNotShadeFormData/>
<w:Compatibility>
<w:FootnoteLayoutLikeWW8/>
<w:ShapeLayoutLikeWW8/>
<w:AlignTablesRowByRow/>
<w:ForgetLastTabAlignment/>
<w:LayoutRawTableWidth/>
<w:LayoutTableRowsApart/>
<w:UseWord97LineBreakingRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
/* Page Definitions */
@page
        {mso-page-border-surround-header:no;
        mso-page-border-surround-footer:no;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Vanlig tabell";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal" style=""><span class="SpellE"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Trygve</span></span><span
style="font-size: 10pt; font-family: Arial;" lang="EN-GB">
Reenskaug<span style=""> </span>mailto: <span class="SpellE"><a class="moz-txt-link-abbreviated" href="mailto:trygver@ifi.uio.no">trygver@ifi.uio.no</a></span></span><span
style="font-size: 10pt; font-family: Arial;"><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span class="SpellE"><span class="GramE"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Morgedalsvn</span></span></span><span
class="GramE"><span style="font-size: 10pt; font-family: Arial;"
lang="EN-GB">.</span></span><span
style="font-size: 10pt; font-family: Arial;" lang="EN-GB"> 5A <span
style=""> </span><a class="moz-txt-link-freetext" href="http://heim.ifi.uio.no/~trygver">http://heim.ifi.uio.no/~trygver</a><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; font-family: Arial;">N-0378
Oslo<span style=""> </span>Tel: (+47) 22 49 57 27<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span class="SpellE"><span
style="font-size: 10pt; font-family: Arial;">Norway</span></span><span
style="font-size: 10pt; font-family: Arial;"><o:p></o:p></span></p>
</div>
</div>
</body>
</html>