There is enough horsepower in the morphic layout controls to do most common layouts.
However, most people find the terminology bizarre and it is not at all straightforward to tap that power.
When you figure it out, it would be really nice if you would write up what you learn.
-Todd Blanchard
On Oct 8, 2006, at 11:08 AM, Kenneth Payne wrote:
Bert-
Thanks for your help.
This should actually work. I think you must not set the container to shrinkWrap.
I've been experimenting with layout by embedding morphs and using the morph menu to change layout etc.
I think I've tried every combination of layouts and child layouts but I've never got a sub-morph fill a cell or to change size with its container. I must be doing something wrong.
Right, you must give it a layout frame. Perhaps this helps:
I've looked at the example. I'll do some experimenting with it this week.
Thanks again for your help.
- Ken
On Sunday 08 October 2006 14:48, Bert Freudenberg wrote:
Am 08.10.2006 um 13:28 schrieb Kenneth Payne:
Am I right in thinking there is way to get a sub-morph to automatically resize as its owner morph resizes?
I've experimented with TableLayout and it seems to work the opposite way. You can get a morph to "shrink-wrap" around its components but you cannot get submorphs to expand or shrink automatically to fill a table cell.
You'd think that using "space fill" on the child layout menu might do something like this - but it doesn't.
This should actually work. I think you must not set the container to shrinkWrap.
As for Proportional Layout - I can't even understand what it's supposed to do. Nothing as far as I can tell.
Right, you must give it a layout frame. Perhaps this helps:
http://minnow.cc.gatech.edu/squeak/2141
- Bert -
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners