Drum Editor horizontal scroll bar and Ctrl button fixed. #1157
Replies: 10 comments
-
Oh yes, that looks much better and cleaner, thank you! BTW: I looked at the possibility to replace the Ctrl-related button texts with icons, as you had suggested in the PR, but I'm afraid the buttons are currently much too small for that, the icons would look bad at this size. But perhaps now with your new layout it would be possible to make even the Ctrl button higher, independent of the scrollbar? I will check the code... |
Beta Was this translation helpful? Give feedback.
-
Yeah I was reminded of the ugly fact that those buttons (and several other things) are fixed size. I still believe we could make reasonable icons. I'll try a few things today... |
Beta Was this translation helpful? Give feedback.
-
Some musings about that layout class: |
Beta Was this translation helpful? Give feedback.
-
As I understand it, it's not even the fixed size which is the problem here. The height of the Ctrl button is currently bound to the hscroll height, which is generally too small for a sensible button (and which can get still smaller because it depends on the theme). |
Beta Was this translation helpful? Give feedback.
-
Correct. Which means that if we were to remove fixed sizes, |
Beta Was this translation helpful? Give feedback.
-
Exactly. To manipulate the height of the scrollbar is a no-go, that would break the design (I tried and it of course looked terribly ugly). So the only way is to make the button independent of the scrollbar somehow? Put it somewhere else, toolbar, or even the controller view together with the other two buttons, even if it's duplicated then... |
Beta Was this translation helpful? Give feedback.
-
Actually I kind of like that it's directly underneath the controller panel now ;-) |
Beta Was this translation helpful? Give feedback.
-
I will freeze my commits for now so Robert can proceed |
Beta Was this translation helpful? Give feedback.
-
I agree that this is exactly the right place for it, there is only the problem with the size... |
Beta Was this translation helpful? Give feedback.
-
I did a test install on KDE once again and there the Ctrl button really looks OK, almost the same height as the S and X buttons above. But e.g. on Cinnamon the scrollbar is smaller so the button is also too small. This unpredictable theme dependency is certainly not good (but also not critical, I guess). |
Beta Was this translation helpful? Give feedback.
-
Hey, give it a try. I fixed it up.
The Drum Editor Ctrl button now follows the canvas width.
The h-scroll is now the same size as the canvas.
Try out the extreme ranges of the splitters and observe that the Ctrl button
does not overlap and 'gives some leeway' when at or near the left or right edge extremes.
Beta Was this translation helpful? Give feedback.
All reactions