Random notes on the CLIM layout protocol, as implemented in McCLIM#
Tue, 28 Jun 2005 01:28:17 +0000
Random notes on the CLIM layout protocol, as implemented in McCLIM.
- attempting to override the size of a stream pane (by calling change-space-requirements on it) is probably a bad idea: at any rate, it doesn't work. Let the internal clim magic work out the sizes of these things based on the stuff that you've printed to them, and if you need to constrain them to a given size, drop them in a scroller or (possibly, haven't tried) a restraining-pane.
- setting the :scroll-bars option on a stream pane is not the same as putting it in a scroller. Indeed, I can't see from the spec how the :scroll-bars stuff is even supposed to work - do the :height/:width/etc keywords apply to the visible area or to the inner stream pane?
As you may have guessed from the preceding, largely undirected climacs hacking continues.