You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem becomes a bit clearer when not use 'Expand Margins' to reach edges.
Maybe this is the real problem? That grabber not line up with edges?
Here the grabber can be grabbed in the gap between bar edge and grabber.
I thought this was how it worked, if use StyleBoxTexture need to use margin (top and bottom) to expand to (VScrollBar) edges... and margin (right and left) to expand to (HScrollBar) edges. But maybe not.
You don't have to use expand margins, you can set the content margins of the HScrollBarscrollStyleBox to zero for left and right, and the VScrollBarscrollStyleBox to zero for top and bottom, this will make it ignore the texture margins.
Additionaly, the content margins are not respected for mouse input, which is what i'm going to fix for this issue.
Tested versions
Reproducible in:
System information
Godot v4.3.stable - Ubuntu 24.04.1 LTS 24.04 - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 6600 (RADV NAVI23) - 12th Gen Intel(R) Core(TM) i5-12400F (12 Threads)
Issue description
When using StyleBoxTexture for scroll bar only half the grabber is usable. The other half just click thru the grabber onto bar.
Thanks.
Steps to reproduce
Minimal reproduction project (MRP)
https://github.com/rakkarage/test-scrollbar-grabber
The text was updated successfully, but these errors were encountered: