Thanks for the tip--that's really a good way to get a feel for how things behave.
For anyone else interested in this thread, I'll also pass on a couple of pages I found helpful:
http://www.visoracle.com/squeak/faq/morphic-layout.html http://coweb.cc.gatech.edu/cs2340/3659
-----Original Message----- From: beginners-bounces@lists.squeakfoundation.org [mailto:beginners-bounces@lists.squeakfoundation.org] On Behalf Of Herbert König Sent: Tuesday, 4 November 2008 8:07 p.m. To: A friendly place to get answers to even the most basic questions aboutSqueak. Subject: Re[2]: [Newbies] Morphic Layout
Hello Michael,
GM> I've done some poking around with TableLayout, and I'm GM> starting to get a feel for how it works. One that I haven't GM> puzzled out is how to make a morph (I'm using a TextMorph inside a GM> BorderedMorph) expand and contract as its containing morph (in my GM> case, another BorderedMorph) is resized. Any advice on this would GM> be appreciated.
the inner Morph must have its childLayout horizontalResizing set to #spaceFill. same with verticalResizing.
I never know this when I need it, so I take a rectangle and an EllipseMorph from the object catalog, put the ellipse inside the rectangle (red halo, embed into) and then I play with both Morphs layout options.
Don't forget to pin both Morphs Menus to the screen.
beginners@lists.squeakfoundation.org