[Pharo-dev] Bug in Spec layout?
tinchodias at gmail.com
Wed Apr 9 06:45:12 EDT 2014
I will try that, thanks Ben.
On Wed, Apr 9, 2014 at 11:33 AM, Benjamin <
benjamin.vanryseghem.pharo at gmail.com> wrote:
> This is a nightmare to solve :)
> a way to fix it is ti introduce another column for the two first widgets
> On 09 Apr 2014, at 11:23, Martin Dias <tinchodias at gmail.com> wrote:
> Hello folks,
> When I evaluate in latest Pharo 3:
> DynamicComposableModel new
> instantiateModels: #(
> a TreeModel
> b TreeModel
> c TreeModel);
> (SpecLayout composed
> newColumn: [ :column |
> newRow: [ :row |
> row newColumn: #a.
> row newColumn: #b.
> row newColumn: #c width: 80 ] ];
> <Screen Shot 2014-04-09 at 11.09.38 AM.png>
> Maybe I'm wrong: I expected that #a and #b have the same width. But it
> looks like the layout algorithm first splits the space half/half between #a
> and #b, and later it only shrinks #b to give the fixed space to #c.
> Should I report an issue? or specify layout in other way?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-dev