[CAPI] Freezing geometry
Hello,
yet another question: I have an interface with several nested row or
column layouts. For simplicity, suppose that the interface has one
toplevel row layout with two sub-layouts inside, next to each other.
I would like to freeze the geometry of the first sub-layout (the one on
the left) to what it gets when the interface is created, so that if I
resize the toplevel window, only the second sub-layout (the one on the
right) gets resized.
I can't seem to make it work. I have tried something like the following
but it doesn't work:
(defmethod interface-display :before ((interface interface))
...
(set-hint-table (sub-layout-1 interface)
`(:visible-min-width ,(simple-pane-visible-width (sub-layout-1 interface))
:visivble-max-width ,(simple-pane-visible-width (sub-layout--1 interface))))
...)
Any help appreciated.
--
Resistance is futile. You will be jazzimilated.
Jazz site: http://www.didierverna.com
Other sites: http://www.didierverna.info
_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html