-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Fully hide song editor scrollbar when not needed #5101
Conversation
Previously, the scrollbar's background area would still be displayed. To work around this, resize the scrollbar area to 0px when it's not needed.
I found a simpler solution: lmms/src/gui/TrackContainerView.cpp Line 491 in 1c715bc
becomes to: setVerticalScrollBarPolicy( Qt::ScrollBarAsNeeded ); and: lmms/src/gui/TrackContainerView.cpp Lines 230 to 231 in 1c715bc
becomes to: content->setFixedWidth(width());
|
|
Sorry I reformated the comment above. |
Yes I've tested it. |
Got a build running to test it, no difference. |
It looks exactly the same. |
It does indeed. |
@BaraMGB You may as well commit this yourself, if you don't mind. You can remove this line entirely instead of explicitly setting it to AsNeeded, I just tested: lmms/src/gui/TrackContainerView.cpp Line 491 in 1c715bc
|
Previously, the scrollbar's background area would still be displayed.
To work around this, resize the scrollbar area to 0px when it's not needed.