Lisp HUG Maillist Archive

text-input-pane margin

Hi,

On MacOSX, comparing the visual outcome of the two commands

(capi:contain (make-instance 'capi:text-input-pane))
(capi:contain (make-instance 'capi:multi-line-text-input-pane))

reveals a white (or transparent) border/margin around the text-input-pane, while the multi-line-text-input-pane does not take any extra space, it is adjacent to the gray internal-border of the interface.

Is it possible to get rid of that extra margin of the text-input-pane? I guess that both panes map to the same underlying Cocoa component (NSTextField), which suggests that the margin is introduced by the capi-cocoa layer at point.

With the margin, it is very hard to produce good looking grid-layouts containing different kinds of capi objects. LW for Windows does not suffer from this problem.

Regards
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:35 UTC