<PharoScreenshot.png>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 oOBut MAContainerMorph does not inherit from Morph :)Object -> Model -> MADescriptionModel -> MAContainerMorphno matter, this:ProductFamily new asMagritteMorph morph asSpecAdaptershould 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 composednewColumn: [ :column |columnadd: #familyList;add: #familyEditor ];yourselfinitializeWidgetsfamilyList := self newList.familyEditor := ProductFamily new asMagritteMorph morph asSpecAdapter.produces the attached result.Can it be easily fixed?