|
|
On 8/15/22 20:16 geert karman wrote:
What did you want to achieve by replacing the scrollbars
with your own scrollbars? Was it only for a better look, or
should your scrollbars have different features? I'm
curious...
Both. Many times I'd like to get rid of the arrow buttons
at the ends as they're not always useful and have the slider
button be just an oval box with no "grips". Also, the slider
button gets really small when there is a long scroll (it's
difficult to grab it with the mouse).
Thanks for these insights.
For a previous program I made a scrollbar that
automatically disappears when you don't use it, and I will
want to go there with the application I'm working on now. To
get it done I had to implement my own Fl_Scroll ...
Hmm, just a thought: when you figure that the scrollbars are not (no
longer) needed you can switch them off. See test/scroll.cxx, change
type() from BOTH to none (0).
I can (for now) live with the fixed scrollbars, but I would
certainly welcome an alternative version where I can put in my
own.
There's no guarantee that this will ever happen, but as I said
before, I personally thought about it - for some other reasons
though. If it ever happens I might remember your request. ;-)
--
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/495b9d69-8ec0-e38f-d3fd-6d7a4564cd67%40online.de.
[ Direct Link to Message ] | |
|
| |