JoystickGremlin icon indicating copy to clipboard operation
JoystickGremlin copied to clipboard

Added scroll bar to the user plugin variable list.

Open Moondragon85 opened this issue 4 years ago • 1 comments

I am currently working on a user plugin that has gotten a bit out of hand. It has so many input and other variables that the list doesn't fit on my screen any longer. The only way to access the lower parts (apart from editing the xml file manually) was to maximize the window which squishes the list vertically but then the individual variables were barely readable. That's why I added a scroll bar to that list.

Moondragon85 avatar Aug 30 '21 19:08 Moondragon85

This is something that definitely should be there, though I'm unlikely to merge this at this stage, mainly for the reason that every single UI related code piece is being redone and existing code can't be ported since I'm moving from raw Qt to QML for the frontend itself.

Looking over the code nothing really stands out other than I usually use the enums Qt defines for various settings, such as Qt::ScrollBarAlwaysOff instead of 1 in the scrollbar. That way it's easier for someone else to figure out what that magic value does.

WhiteMagic avatar Sep 02 '21 07:09 WhiteMagic