Emulator Issues #11707
Qt: Align mapping buttons to the right
0%
Description
Currently the mapping buttons and editable fields in the controller configuration screen are aligned to longest 'description' word. This creates different sizes of mapping buttons and editable fields. The mapping buttons have a max width making the difference not that noticeable but the editable fields don't have a max width making them stick out.
I think it would look much better if the fields and buttons were aligned to the right 'border', this would make the fields and buttons aligned to each other on the left as well as on the right side. This would also mean that the buttons and fields are aligned with the calibrate button.
See the attached pictures to see the difference between normal and being aligned on the right side by shrinking the window.
Related issues
History
#2
Updated by Silent over 1 year ago
Aligning them to right looks good to me. You PR'd a fix to make fields and buttons uniform in size a while ago, but I do think aligning them to right would potentially make it look better.
#3
Updated by Miksel12 over 1 year ago
I tried to align the buttons to the right while using Qformlayout but that didn't work or look great. Qgridlayout did look great but it lacks addRow/insertRow so code wise it looks kinda ugly but I'm not a Qt expert.
#4
Updated by Billiard26 over 1 year ago
- Issue type changed from Bug to Feature request
- Priority changed from Normal to Low
- Status changed from New to Accepted
#5
Updated by Billiard26 about 1 year ago
- Related to Emulator Issues #12007: Qt Controller UI bindings don't update when controller settings window is resized added
#6
Updated by DaCodaDragon 3 months ago
- File Sized.PNG Sized.PNG added
- File Align Right.PNG Align Right.PNG added
- File Align Right Wii Remote.PNG Align Right Wii Remote.PNG added
Silent wrote:
Aligning them to right looks good to me. You PR'd a fix to make fields and buttons uniform in size a while ago, but I do think aligning them to right would potentially make it look better.
I am not entirely sure how I feel about this one. I've two examples set up where the windows are quite stretched out. Things look super spaced out from eachother.
I could try a few different things. I was rather thinking about making the fields and buttons the same size.
I feel this looks a lot more pleasing to the eye having things more lined up with eachother. It might be too cluttered for some though. We could potentially add more spacing between the text and the widget but still make fields and buttons uniformly sized?