Lisp HUG Maillist Archive

CAPI: How to add a gap between elements in layout and border

Hi all,

Is there a way to increase distance between the windows in layout and the border?
I.e. how to specify the gap between left side of the window and the contents.




Br,
/Alexey

Re: CAPI: How to add a gap between elements in layout and border

> Is there a way to increase distance between the windows in layout and the border?
> I.e. how to specify the gap between left side of the window and the contents.

You can pass a value for :internal-border when you create the interface. AFAIK, there is no way to increase the border for just one side.

Example:
(capi:contain (make-instance 'capi:text-input-pane :title "Title") :internal-border 20)

Erik



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

Re: CAPI: How to add a gap between elements in layout and border

Thanks! This is exactly what I was looking for.


Br
/Alexey

On Thu, Aug 16, 2018 at 3:49 PM, Erik Ronström <erik.ronstrom@doremir.com> wrote:
> Is there a way to increase distance between the windows in layout and the border?
> I.e. how to specify the gap between left side of the window and the contents.

You can pass a value for :internal-border when you create the interface. AFAIK, there is no way to increase the border for just one side.

Example:
(capi:contain (make-instance 'capi:text-input-pane :title "Title") :internal-border 20)

Erik



_______________________________________________
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:29 UTC