Re: layouts
by Scott Wallace other posts by this author
Jan 26 2004 1:40PM messages near this date
Re: layouts
|
[ENH] animatedGif ( problem with GifReadWriter>>readBody )
Another good resource for getting to know about layouts is to use
Viewers. Try this, for example:
Open up the Objects tool and from the "presentation" category get a
Column or a Row.
Open up a Viewer on that row or column, and choose the "layout" category.
Now twiddle with the values of the layout parameters in the Viewer;
you'll be able to see the results immediately on the morph.
Twiddling further parameters in the "color & border" and "basic"
categories may also be useful in such explorations.
Cheers,
-- Scott
At 9:39 AM -0800 1/26/04, Ned Konz wrote:
> On Monday 26 January 2004 7:50 am, Ramiro Diaz Trepat wrote:
> > Regarding the laying out of Morphs, I've seen that in the TableLayout it
> > is not
> > posile to "fix" a specific number of rows and columns. When you resize
> > the main
> > container window, components scroll up or down like if they were words
> > on a word processor.
>
> You can add more interior morphs to do this. For a forced 2 column display,
> you can do this:
>
> MyMorph (table, left-to-right, no wrap)
> column1 (table, top-to-bottom, no wrap)
> other morphs
> column2 (table, top-to-bottom, no wrap)
> other morphs
>
> > Besides that, I also could not find a way to tell
> > the
> > layout manager that a specific component might occupy, for instance 3
> > cells horizontally and 1 vertically.
> > I am sure that these things are resolved in some way in Squeak, if anybody
> > could point me a *complex* window layout example to learn from it would be
> > great.
>
> Andreas made a very nice Active Essay about the layouts. It's on SqueakMap.
Thread:
Ned Konz
Ramiro Diaz Trepat
Ned Konz
Ramiro Diaz Trepat
Scott Wallace
Scott Wallace
|