Scroll bars

• Dec 31, 2014 - 13:21

I believe the horizontal scroll bar in the navigator pane should vanish if there is nothing to scroll because everything fits, in the same manner as for the inspector pane
And in the workspace a horizontal scroll bar should be made available if needed (and vanish if not), just like the vertical scroll bar in that pane or the ones in inspector and the selection filter pane.

Opinions?


Comments

mscore/palette.cpp, line 1405:
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);

mscore/navigator.cpp, line 47:
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);

Changing both to
setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);

should to the trick.

Or is there a good reason not to?

Oh, well, I tried and it doesn't seem that easy: in workspace the scrollbar just doesn't show at all (as if it wouldn't calculate the width) and in navigator it 'flickers', goes on and off when changing the size within in a certain range, some kind of a feedback.

The horizontal scroll bar of the selection filter pane too doesn't see to be (fully?) aware of its width or calculate it based on the English texts rather than the (possibly longer) translations?

Do you still have an unanswered question? Please log in first to post your question.