Lisp HUG Maillist Archive

CAPI multi-line-text-input-pane resize issue

I've been looking through the documentation and inspecting the pane, but 
I'm having the following issue (LW Pro 6.1.1, OS X):

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

Copy the Lorem Ipsum text in there 
(https://en.wikipedia.org/wiki/Lorem_ipsum) just so there is reasonable 
text to display. Everything is fine.

Now, resize the window to make it larger (horizontally). The lines and 
text all wrap properly as would be expected. Now make it smaller. The 
text does not wrap any more.

If - when I create the pane - I set :horizontal-scroll to T, then it 
wraps properly, but the scrollbar is worthless because (while visible) 
the text never actually requires scrolling. I'm sure it would be 
valuable should my min/max-visible-width warrant it, but it doesn't.

So, is there any way for me to get the behavior I want (resizing, no 
scrollbar, auto-rewrapping of the text)? If so, then, more 
fundamentally, what is it about CAPI that I'm misunderstanding here that 
I would apply to other panes as well?

Thanks!

Jeff M.

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


Re: CAPI multi-line-text-input-pane resize issue

I just tested this on LW Windows (Personal Edition) and it works fine. This is a bug for the Mac version. Can this be acknowledged by someone at LW? Is it fixed in a patch or ion a list to-be fixed?

Thanks!

Jeff M.

Jeffrey Massung
Tuesday, August 06, 2013 10:26 PM
I've been looking through the documentation and inspecting the pane, but I'm having the following issue (LW Pro 6.1.1, OS X):

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

Copy the Lorem Ipsum text in there (https://en.wikipedia.org/wiki/Lorem_ipsum) just so there is reasonable text to display. Everything is fine.

Now, resize the window to make it larger (horizontally). The lines and text all wrap properly as would be expected. Now make it smaller. The text does not wrap any more.

If - when I create the pane - I set :horizontal-scroll to T, then it wraps properly, but the scrollbar is worthless because (while visible) the text never actually requires scrolling. I'm sure it would be valuable should my min/max-visible-width warrant it, but it doesn't.

So, is there any way for me to get the behavior I want (resizing, no scrollbar, auto-rewrapping of the text)? If so, then, more fundamentally, what is it about CAPI that I'm misunderstanding here that I would apply to other panes as well?

Thanks!

Jeff M.
Updated at: 2020-12-10 08:35 UTC