Stef,

I had missed it.  Fernando raises some good points about the layout manager.  
One of the ways I have historically solved some of the problems that arise is 
to use "way too many"<g> nested containers.

Consider making a list of several labeled text fields for a dialog box.  One 
approach to that is a pair of vertical proportional layouts, one with the 
labels (each aligning text to the right) and another with the fields.  Put both 
of them in another container to size them to available space in something else.

Igor and Fernando reminded me of something I failed to mention about Dolphin: 
the layout manager of a container forces particular types for the managed 
subviews' #arrangement.  ProportionalLayout wants numbers; FramingLayout wants 
things very similar to what exists in Pharo.  Framing layout is very powerful, 
but nested proportionals can often to pretty much the same thing and often with 
far less anguish.

Bill


________________________________________
From: [email protected] 
[[email protected]] On Behalf Of Stéphane Ducasse 
[[email protected]]
Sent: Saturday, June 18, 2011 3:01 AM
To: [email protected]
Subject: Re: [Pharo-project] OB column width resizing

bill

did you check the idea of igor about layout that acts as anchors?

Stef


On Jun 17, 2011, at 11:49 PM, Schwab,Wilhelm K wrote:

> As my Pharo MVP framework grows, I am starting to miss Dolphin's layout 
> managers.  The voodoo of automatically inserting splitters is, IMHO, time 
> thrown after bad.  We should instead have easy-to-use widgets that do what 
> one expects and then explicitly place them where they belong.
>
> Dolphin's proportional layouts can be set as horizontal or vertical, and one 
> can add splitters to allow the proportions to be changed.  An aspect called 
> #arrangement can be set to zero to make something fixed size or to any number 
> which then becomes that much out of the sum of peer #arrangement values.
>
> My first priority is to get any type of layout that is reliable with deeply 
> nested composites.  Not there yet :(
>
> Bill
>
>
>
> ________________________________________
> From: [email protected] 
> [[email protected]] On Behalf Of Sean P. DeNigris 
> [[email protected]]
> Sent: Friday, June 17, 2011 4:00 PM
> To: [email protected]
> Subject: Re: [Pharo-project] OB column width resizing
>
> Lukas Renggli wrote:
>>
>> See
>> http://groups.google.com/group/omnibrowser-dev/browse_thread/thread/395723875f109104
>>
>
> Thx :(
>
> --
> View this message in context: 
> http://forum.world.st/OB-column-width-resizing-tp3606264p3606347.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>
>



Reply via email to