FLTK logo

Re: [fltk.general] Re: Problem with redraw() / draw()

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: Problem with redraw() / draw() geert karman Aug 16, 2022  
 


    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?)

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/66c53f36-70e9-424d-b1a9-e89187d53534n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.