Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScrollContainer follow focus is not taking scrollbar in to account when layout_direction is set to Right-to-Left #94620

Closed
Giganzo opened this issue Jul 22, 2024 · 0 comments · Fixed by #94621
Milestone

Comments

@Giganzo
Copy link
Contributor

Giganzo commented Jul 22, 2024

Tested versions

Godot v4.3.beta3

System information

Godot v4.3.beta3 - Fedora Linux 40 (KDE Plasma) - Wayland - Vulkan (Forward+) - (software emulation on CPU) llvmpipe (LLVM 18.1.6, 256 bits)

Issue description

ScrollContainer follow focus is not taking scrollbar in to account when layout_direction is set to Right-to-Left

First image is LtR, control is aligned with the scrollbar.
Screenshot_20240722_144408

If layout_direction is set to RtL, control is under the scrollbar.
Screenshot_20240722_144427

Steps to reproduce

Switch between RtL and LtR on the ScrollContainer

Minimal reproduction project (MRP)

rtl-scrollcontainer-.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants