Revert "UI: make the layout scrollable when there are many buttons"#18
Revert "UI: make the layout scrollable when there are many buttons"#18orivej wants to merge 1 commit intopanzi:masterfrom
Conversation
This reverts commit 0957dc3. The scroll area adds ugly scroll bars to the button configuration part of the dialog.
|
As the author of the commit you want to revert, I'll explain the rationale: when there are many buttons, without scrollbars, it's even uglier than what you show. It can even be completely unusable, if the window is higher than screen resolution. Those scrollbars are here for a good reason. |
How can it be worse (unless the window is higher than the screen)?
I expect that in almost all cases the window fits on the screen. Using the proportions of this screenshot (45 px per row and 300 px for the rest, including decorations), 30 axes+buttons fit on a 1000p screen. If a window does overflow, it can still be panned to access the hidden areas. (In Plasma, with Alt+mouse drag.)
I think that qjoypad is better without that change, not only for me but also in general. If the issue of the overflowing window has to be fixed, it should be fixed without sacrificing the look in the common case. |

This reverts commit 0957dc3.
The scroll area adds ugly scroll bars to the button configuration part of the dialog. Here is how it looks after start:
