Fixing the tabs
- 50541507
- Apr 27, 2022
- 1 min read
Up till now, I haven't packaged and used the UI outside of the editor's window. This meant that my perception of 4:3 was slightly skewed by it being windowed, and so I hadn't noticed this ludicrous bug:

This is an obvious bug that I can assume replicates to other 4:3 screens. According to prosettings.net, 64% of pro CS:GO players use the 4:3 aspect ratio, and while this probably doesn't translate exactly into casual play, I can use this data to guess that maybe 20% of casual players use 4:3, which is a sizeable portion of the player-base. This then justifies my need to make the UI fit the 4:3 screen, and so I adjusted some of the sizing of some of the tabs, especially the Home and Quit tabs, as they aren't necessarily needed to be the same size. The only problem with this however, is that the tabs won't all be consistently sized with each other, breaking one of the C.R.A.P. rules of Proximity. However in this case, I think it's warranted to fix a glaring bug that I can't fix with a redesign because of how far into the project I am.
This could be avoided with more thorough preplanning into resolutions and how my UI could possibly scale to them early on, however I didn't realise this at the time, and so will make sure I do this in the future after knowing the consequences.

This is the result of the resizing. It doesn't look as bad as I thought it would, and still fits perfectly fine with the rest of the UI.



Comments