-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix panels scroll when focus moves out of view #25664
Conversation
To address #25571 for the Properties panel, can we use |
@shubham-shinde-442 I don't understand exactly what you mean, but can https://doc.qt.io/qt-6/qml-qtquick-item.html#mapToItem-method help, to retrieve the bounding box of an item in the coordinates of any other item (for example the contentItem of the StyledListView that contains all the inspector sections)? |
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.
Thanks for your contribution @shubham-shinde-442 - just a couple of feedback points.
It's a shame we can't use positionViewAtindex
in our version of TreeView
- this would make life a lot easier!
src/instrumentsscene/qml/MuseScore/InstrumentsScene/InstrumentsPanel.qml
Outdated
Show resolved
Hide resolved
b519dfb
to
ae4b04e
Compare
ae4b04e
to
28a64ed
Compare
Tested on MacOS 14, Windows 11, Ubuntu 22.04.3. Approved |
Resolves (partially, for the instruments mixer panels): #25571