Are you on Windows? Because I experienced some strange (though similar) issues on Windows (gods know why :S) Ben On 31 Mar 2014, at 23:59, Sergi Reyner <sergi.reyner@gmail.com> wrote:
2014-03-31 22:48 GMT+01:00 Esteban Lorenzano <estebanlm@gmail.com>:
On 31 Mar 2014, at 18:40, Sergi Reyner <sergi.reyner@gmail.com> wrote:
2014-03-31 22:36 GMT+01:00 Benjamin <benjamin.vanryseghem.pharo@gmail.com>: On 31 Mar 2014, at 23:34, Sergi Reyner <sergi.reyner@gmail.com> wrote:
Yes, MNU MAContainerMorph>>asSpecAdapter
#asSpecAdapter is implemented on Morph oO
But MAContainerMorph does not inherit from Morph :)
Object -> Model -> MADescriptionModel -> MAContainerMorph
no matter, this:
ProductFamily new asMagritteMorph morph asSpecAdapter
should produce the right result (no image opened now, so it can be slightly different) :)
Indeed it does. It looks slightly ugly though:
defaultSpec <spec: #default> ^ SpecLayout composed newColumn: [ :column | column add: #familyList; add: #familyEditor ]; yourself
initializeWidgets familyList := self newList. familyEditor := ProductFamily new asMagritteMorph morph asSpecAdapter.
produces the attached result.
Can it be easily fixed?
<PharoScreenshot.png>