Lisp HUG Maillist Archive

Padding capi elements

Is there a way to pad capi elements?

For example (using CSS terminology), if I have a row-layout with a 
description of '(a :separator b) and rations of '(nil 1 nil) so that 'a 
is on the far left and 'b is on the far right, I'd like to add margins 
to the left and right so that 'a isn't butt-up against the left and 'b 
isn't butt-up against the right.

I know I can add dummy panes to the layout, but I'm hoping there's 
another way for me to do this instead?

Jeff M.

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: Padding capi elements

You can pass :internal-border to the surrounding pane, the row-layout in this case. But it is a somewhat limited solution, as the padding will be equal on all four sides.

IMO, a more CSS-like margin/padding system would indeed make CAPI much more usable!

Erik



9 jan 2014 kl. 18:42 skrev Jeffrey Massung:

> 
> Is there a way to pad capi elements?
> 
> For example (using CSS terminology), if I have a row-layout with a description of '(a :separator b) and rations of '(nil 1 nil) so that 'a is on the far left and 'b is on the far right, I'd like to add margins to the left and right so that 'a isn't butt-up against the left and 'b isn't butt-up against the right.
> 
> I know I can add dummy panes to the layout, but I'm hoping there's another way for me to do this instead?
> 
> Jeff M.
> 
> _______________________________________________
> Lisp Hug - the mailing list for LispWorks users
> lisp-hug@lispworks.com
> http://www.lispworks.com/support/lisp-hug.html
> 


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Updated at: 2020-12-10 08:34 UTC