Sean P. DeNigris wrote
1) #asMorph returns a presenter (MAXyzContainer), not
a Morph
And here's my very dramatic ;) initial experience which led me to these
conclusions (from
http://forum.world.st/Customizing-Magritte-Morphic-Forms-tp4251518p4251623.…):
Sean P. DeNigris wrote
I realized from your snippet what was missing in my
attempt:
| form window |
form := anAddress asMorph addButtons.
window := SystemWindow new addMorph: form ***morph*** fullFrame:
(LayoutFrame fractions: (0@0 corner: 1.0(a)1.0) offsets: (10@10 corner:
10@10)).
window openInWorld.
OMG! It seems terribly misleading to me to call something a morph that is
not a morph. This violates the principle of least surprise, and while
surprises are nice today because it's a holiday, not so much the rest of
the year ;-)
-----
Cheers,
Sean
--
View this message in context:
http://forum.world.st/No-more-dirty-packages-in-Pharo-tp4705752p4710541.html
Sent from the Magritte, Pier and Related Tools mailing list archive at
Nabble.com.