[plt-scheme] drscheme 203.5 problem
From the moment I read the email that explained the first thin line
problem, it was obvious to me it was the text-field% and not text-box%.
text-field% uses the OS's api function that gets the character height to
find out what height it has to be.
I believe if you try
(define f (make-object frame% "Test"))
(define c (instantiate editor-canvas% (f)
[stretchable-height #f]
[style '(no-vscroll no-hscroll)])
||(send| c|| set-line-count 1||)
|(send f show #t)
It might give you the same problem as a text-field%
Try setting the line count to 20, I wonder what will happen.
Anyway, I had the same problem with Windows (on every program), and the
solution was resetting the global font sizes (or something like that)
from the control panel. Is that possible under linux?
Katsmall the Wise
kela_bit at netvision.net.il
Dimitry Gashinsky wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>
>On Mon, 2003-03-10 at 08:56, Matthew Flatt wrote:
>
>
>> (define f (make-object frame% "Test"))
>> (make-object text-field% #f f void)
>> (send f show #t)
>>
>>
>>
>
>This produced just a thin line.
>
>
>
>> (define f (make-object frame% "Test"))
>> (instantiate editor-canvas% (f)
>> [stretchable-height #f]
>> [style '(no-vscroll no-hscroll)])
>> (send f show #t)
>>
>>
>>
>
>But this code worked correctly. I think you are on to something here.
>
>Thanks again,
>Dima
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20030310/f98464c2/attachment.html>