[Pharo-dev] Bug in Spec layout?

Martin Dias tinchodias at gmail.com
Wed Apr 9 05:23:33 EDT 2014


Hello folks,

When I evaluate in latest Pharo 3:

DynamicComposableModel new
instantiateModels: #(
 a TreeModel
b TreeModel
c TreeModel);
openWithSpecLayout:
 (SpecLayout composed
newColumn: [ :column |
column
 newRow: [ :row |
row newColumn: #a.
row newColumn: #b.
 row newColumn: #c width: 80 ] ];
yourself)

===>

[image: Inline image 2]

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?

Thanks,
Martín
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20140409/44465d7d/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-04-09 at 11.09.38 AM.png
Type: image/png
Size: 13156 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20140409/44465d7d/attachment.png>


More information about the Pharo-dev mailing list