AlignmentMorph obsolete so what do I use?

Jerome Chan eviltofu at mac.com
Mon Jul 8 15:42:40 UTC 2002


On Monday, July 8, 2002, at 11:16 PM, Ned Konz wrote:

> It doesn't have to. The framing rectangles have two parts:
> * a part that is proportional to the window size
> * a part that is a constant offset from that
>
> So for instance, this code in ArchiveViewer>>createWindow makes a
> button bar that is always 44 pixels high, but whose width varies with
> the window width:
>
> 	buttonBar _ self createButtonBar.
> 	self addMorph: buttonBar
> 		fullFrame: (LayoutFrame fractions: (0 at 0 corner: 1.0 at 0.0) offsets:
> (0 at 0 corner: 0 at 44)).
>
> 	self minimumExtent: (buttonBar fullBounds width + 20) @ 230.
>
> You could also have the width fixed if you wanted.
>
Is it possible to get rid of the frame outline?




More information about the Squeak-dev mailing list