Nuklear
Nuklear copied to clipboard
feature request: extend NO_SCROLLBAR with horizontal/vertical options
Sometimes a scrollbar can appear that has no effect because it scrolls 0px in that direction. The same is true for very small "scrollable distances" like a couple of pixels.
Thus it would be nice to be able to disable just one of the scrollbars and keep the other if the content inside is big enough to require it.
Could you provide an example to debug?
I'm working on a tool with a layout of 3 columns and here is an example that renders the same issue with a lot less code: https://gist.github.com/Ryder17z/402376fa1a509269363182724c1ef922 this example just uses sdl_render
I'm also experiencing the same behavior of some occasional 0px horizontal scrollbars using the SDL renderer.
Just bumping this for now, but in the future I would love to see this fixed. If I get the time I could tackle it myself if needed.
I ran the above demo you provided, and it does seem suspect. Resizing the window by 1 pixel either shows or hides the horizontal scrollbar, and there's also some scrollbar padding on the right-hand side....
I'm also experiencing the same behavior of some occasional 0px horizontal scrollbars using the SDL renderer.
Just bumping this for now, but in the future I would love to see this fixed. If I get the time I could tackle it myself if needed.
Bumping doesn't really work given how Github works and for this repo there is no "stalebot" to worry about.
Bumping = expressing I experience the same thing and putting it back on Rob's radar.
Maybe "nudging" is more appropriate :)
#686
#686
This could be useful for some, but I don't think it fundamentally solves this specific problem
Fair point. It should be investigated deeper.
On Sun, 8 Sept 2024, 17:09 Ryan Zmuda, @.***> wrote:
#686 https://github.com/Immediate-Mode-UI/Nuklear/pull/686
This could be useful for some, but I don't think it fundamentally solves this specific problem
— Reply to this email directly, view it on GitHub https://github.com/Immediate-Mode-UI/Nuklear/issues/653#issuecomment-2336720887, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPIOP2HQSVYEUTKHQWUIX3ZVRSEJAVCNFSM6AAAAABJP3ZYYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWG4ZDAOBYG4 . You are receiving this because you authored the thread.Message ID: @.***>
I ran the above demo you provided, and it does seem suspect. Resizing the window by 1 pixel either shows or hides the horizontal scrollbar, and there's also some scrollbar padding on the right-hand side....
Come to think of it, the color picker widget also seem to have a weird padding issue like that, possibly related.
Is this isolated to specifically the sdl2 renderer backend?
Is this isolated to specifically the sdl2 renderer backend?
As far as I can tell: Unconfirmed, further testing needed.
