[Q] resizing a PlotMorph

Chris Muller afunkyobject at yahoo.com
Wed Jun 4 02:56:22 UTC 2003


Whenever I try to add a PlotMorph to another morph using a TableLayout and
#shrinkWrap, resizing the PlotMorph exceeds the bounds of the parent morph.

For example:

RectangleMorph new
	layoutPolicy: TableLayout new;
	hResizing: #shrinkWrap;
	vResizing: #shrinkWrap;
	addMorph: PlotMorph new;
	addMorph: CurveMorph new;
	openInWorld

Resizing the PlotMorph inside the RectangleMorph causes it to cover the
CurveMorph and outside the bounds of the parent RectangleMorph.  Am I doing
something wrong?

Thanks,
  Chris

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com



More information about the Squeak-dev mailing list