-
-
Notifications
You must be signed in to change notification settings - Fork 328
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
wxGUI: Fix scrolling the layertree to the right when adding items #3017
wxGUI: Fix scrolling the layertree to the right when adding items #3017
Conversation
63207fc
to
08d989c
Compare
@lindakladivova Can you please provide more details how to reproduce this issue? I am unable to reproduce it: Screencast.from.2023-11-19.12-08-16.webm |
@neteler I tried to reproduce it, but I am still failing: Screencast.from.2024-03-23.00-54-02.webm |
I think you need to try with maps with longer map names, see what happens when I unclick a map: Screencast.from.2024-03-22.21-12-31.webm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a small change, I think it's fine to merge it.
After adding layers to the layer tree, the whole tree is scrolled to the right. If we do that again, the scrollbar is even more expanded.
This PR adjusts the scrollbars at the moment when the new item is added.