Ah, that looks like it's a "feature" of one of the non-default
schemes
that FLTK provides, perhaps gtk+?
Yes, I use gtk+. By the way I just tried the default scheme and the slider there is not square either.
I can see where such a problem could be solved by a new method
that
I mentioned, letting one control the minimum size of the tab.
I suppose such a method could maybe default to 0.0 ('default'
behavior),
and allow non-zero numbers be a fractional size based on the
width, so
that if the scrollbar_size were 10, and the minimum size were
1.0, the tab
would never get smaller than 10 pixels, regardless of the
scheme().
At this moment it looks like the minimum is half the width of the scrollbar for both the default and gtk+ schemes. It would already be great if it would not get smaller than squared as you mentioned in your earlier post. Would the team feel for such an update in fltk 1.4? I haven't looked at the code yet, but it sounds like it should be easy to implement (like not divide by 2 or so, but maybe there's more to it, for example for very short scrollbars?)
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.