[plt-scheme] Layout and grids with MrEd?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Apr 21 22:36:38 EDT 2006

At Fri, 21 Apr 2006 16:29:44 -0700 (PDT), Danny Yoo wrote:
> I've been reading through the MrEd documentation to see what I can do to 
> make *simple-grid%* a real container, and I suppose I should just bite the 
> bullet, inherit from *panel%*, and write *container-size* and 
> *place-children* methods as described in:
> 
> http://download.plt-scheme.org/doc/301/html/mred/mred-Z-H-3.html#node_sec_2.2.3

Yes.

> I was wondering if there were anything else I could do to reuse the 
> functionality that *horizontal-panel%* and *vertical-panel%* provide, or 
> if I'll have to just recode their logic.

I don't think so (though, obviously, it might have been better to have
a general grid panel in the first place, so that vertical and
horizontal panels are just specializations to a single column or row).

Matthew



Posted on the users mailing list.