layouts

Ned Konz ned at squeakland.org
Mon Jan 26 22:35:20 UTC 2004


On Monday 26 January 2004 10:52 am, Ramiro Diaz Trepat wrote:
> That is if I have labels on the left column and text entry fields on the
> right column, and I want the labels to be vertically centered with their
> corresponding entry field on the right side of the row.  This would be
> harder to achieve if the components were of variable heights.

So you could do this:
	MyMorph (TableLayout, topToBottom)
		row1 (ProportionalLayout or no layout)
			label
			entry field
		row2 (ProportionalLayout or no layout)
			label
			entry field

Or you could use leftToRight TableLayouts. Just experiment with the 'layout' 
menu.



More information about the Squeak-dev mailing list