I couldn't figure out how to shift the slider to one side or the other, so I just made the slider wider than it needed to be and buried the unwanted space under some buttons to the side. (I wanted the hit rect of the slider handle to be larger than the visible handle, because I'm working with a questionable $12 touchscreen, so I added a bunch of invisible padding to it.)
screenshot.png
In this screenshot, we see the touch area drawn as green. (This is normally drawn transparent.) Even if you miss the slider by a small margin, you can still drag it without any issue. The green area used to extend out a few pixels to the left and right, so it was even easier to drag. However, this caused the text on the buttons to get redrawn so I narrowed it. But now it's harder to drag.
Added after 6 minutes:
Oh, sorry, missed your reply there.
That is correct. Proper layouts are both hard to use and glitchy in Qt Designer. I couldn't resize them, they often resized themselves to inappropriate dimensions, and they didn't survive save/load very reliably. Since I often found myself having to edit the XML output of Designer and reload, I switched to absolute positioning. Due to the fixed-size screen on the product the interface is for, this is acceptable.
Bookmarks