Lisp HUG Maillist Archive

multi-line-text-input-pane shorter than 10 lines height.

I want to have a small multi-line-text-input-pane, about 3-4 lines of text.
But I haven't been able to make one that is shorter than 10 lines high.
Well, I can make it look smaller, but it takes up the same height in the
layout. (thicker borders.)

this is LWW 5.0.1
-- 
  -asbjxrn


AW: multi-line-text-input-pane shorter than 10 lines height.

 

> -----Ursprüngliche Nachricht-----
> Von: owner-lisp-hug@lispworks.com 
> [mailto:owner-lisp-hug@lispworks.com] Im Auftrag von Asbjørn Bjørnstad
> Gesendet: Sonntag, 28. Januar 2007 06:37
> An: lisp-hug@lispworks.com
> Betreff: multi-line-text-input-pane shorter than 10 lines height.
> 
> 
> I want to have a small multi-line-text-input-pane, about 3-4 
> lines of text.
> But I haven't been able to make one that is shorter than 10 
> lines high.
> Well, I can make it look smaller, but it takes up the same 
> height in the layout. (thicker borders.)
> 
> this is LWW 5.0.1
> --
>   -asbjxrn
> 

Hi Asbjørn,

I just had the same problem and did the following

(make-instance 'text-input-pane 
               :visible-min-height '(:character 4)
               :multi-line-p t)

which works for me. I found this suggestion by searching the browsable
archive of lisp-hug at

http://news.gmane.org/gmane.lisp.lispworks.general/

Andreas



Re: multi-line-text-input-pane shorter than 10 lines height.

On 1/28/07, Andreas Thiele <andreas@atp-media.de> wrote:
>
> > -----Ursprüngliche Nachricht-----
> > Von: owner-lisp-hug@lispworks.com
> > [mailto:owner-lisp-hug@lispworks.com] Im Auftrag von Asbjørn Bjørnstad
> >
> > I want to have a small multi-line-text-input-pane, about 3-4
> > lines of text.
> > But I haven't been able to make one that is shorter than 10
> > lines high.
>
> I just had the same problem and did the following
>
> (make-instance 'text-input-pane
>                :visible-min-height '(:character 4)
>                :multi-line-p t)

Ah, this seems to work, thanks.
-- 
  -asbjxrn


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