<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>--</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><SPAN class=015551710-02062008><FONT face=Arial color=#0000ff size=2>The UI 
Enhancements package contains modifications to provide the behaviour you are 
expecting.</FONT></SPAN></DIV>
<DIV><SPAN class=015551710-02062008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=015551710-02062008><FONT face=Arial color=#0000ff size=2><A 
href="http://wiki.squeak.org/squeak/6005">http://wiki.squeak.org/squeak/6005</A></FONT></SPAN></DIV>
<DIV><SPAN class=015551710-02062008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=015551710-02062008><FONT face=Arial color=#0000ff 
size=2>Regards, Gary.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> 
  squeak-dev-bounces@lists.squeakfoundation.org 
  [mailto:squeak-dev-bounces@lists.squeakfoundation.org]<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>&nbsp;&nbsp;&nbsp; top 
  left: LayoutFrame fractions: (0@0 corner: <A class=moz-txt-link-abbreviated 
  href="mailto:0.2@0.5">0.2@0.5</A>)).<BR>&nbsp;&nbsp;&nbsp; top right pane: 
  LayoutFrame fractions: (0.2@0 corner: <A class=moz-txt-link-abbreviated 
  href="mailto:1@0.5">1@0.5</A>).<BR>&nbsp;&nbsp;&nbsp; bottom left pane: 
  LayoutFrame fractions: (<A class=moz-txt-link-abbreviated 
  href="mailto:0@0.5">0@0.5</A> corner: 0.19@1).<BR>&nbsp;&nbsp;&nbsp; bottom 
  right pane: LayoutFrame fractions: (<A 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>&nbsp;&nbsp;&nbsp; a horizontal pane splitter 
  right across the window at y=0.5<BR>&nbsp;&nbsp;&nbsp; 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&gt;&gt;</B></I><BR>&nbsp;&nbsp;&nbsp; 
  <B>normalizedX: x</B><BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; ^ (x max: self leftBoundary) min: self 
  rightBoundary<BR>&nbsp;&nbsp;&nbsp; <B>rightBoundary</B><BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ^ (self splitterRight ifNil: [self 
  containingWindow panelRect right] ifNotNil: [self splitterRight left]) - 
  50<BR>&nbsp;&nbsp;&nbsp; <B>splitterRight</B><BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp; | splitters |<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; splitters 
  _ ((self siblingSplitters select: [:each | each x &gt; self x]) 
  asSortedCollection: [:a :b | a x &lt; b x]).&nbsp;<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; ^ splitters ifEmpty: nil ifNotEmpty: [splitters 
  first]<BR>&nbsp;&nbsp;&nbsp; <B>siblingSplitters</B><BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; ^ self owner submorphsSatisfying: [:each | (each isKindOf: 
  self class) and: [self splitsTopAndBottom = each splitsTopAndBottom] and: 
  [each ~= self]]<BR>&nbsp;&nbsp;&nbsp; <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><B></B>
  <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 lang=EN-GB 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Trygve</SPAN></SPAN><SPAN 
  lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 
  Reenskaug<SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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><SPAN class=SpellE><SPAN class=GramE><SPAN lang=EN-GB 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Morgedalsvn</SPAN></SPAN></SPAN><SPAN 
  class=GramE><SPAN lang=EN-GB 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">.</SPAN></SPAN><SPAN lang=EN-GB 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 5A 
  <SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">N-0378 
  Oslo<SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  </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></BODY></HTML>