[plt-scheme] Layout and grids with MrEd?
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