On 11.01.2012 20:38, mattes wrote:
>> On 07.01.2012 02:32, mattes wrote:
>>>> If having more lines that the browser can display, the scrollbar
>>>> is shown.  Using the scrollbar does not allow to scroll down
>>>> all the way to the bottom.
>>>
>>> I think I found the culprit. After loading my list I change the
>>> text font size.  This obviously effects the scroll bar length.
>>> Which then prevent from scrolling to the bottom. (both via scrollbar
>>> and as well programmatically).
>>>
>>> Is there a way to adjust that?
>>> I want to change the font size when going fullscreen and back
>>
>> I remember that I had a similar problem in my own app, but I don't
>> know if I made a local fix, or if it is in the official release.
>>
>> Anyway, please try whether it helps to change the font size *before*
>> resizing the widget (if you did it the other way around). If that
>> doesn't help, please tell us. Maybe I can find my solution somewhere...
>>
>
> Resizing itself does not have any impact on the problem.
> It seems that if you change the font after loading (fl_browser->add() ) the 
> scroll bar is wrong.
>
> One way around it seems to be, to clear the browser and reload
> all lines:
>     Fl-Browser->textsize(18);
>     Fl-Browser->clear();
>     for ()
>       Fl-Browser->add();

Please file an STR, otherwise we might lose track of this.
http://fltk.org/str.php

Thanks,

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to