Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed limits UI is huge #299

Closed
RenaKunisaki opened this issue Apr 30, 2019 · 7 comments
Closed

Speed limits UI is huge #299

RenaKunisaki opened this issue Apr 30, 2019 · 7 comments
Assignees
Labels
duplicate Duplicate of existing issue enhancement Improve existing feature SPEED LIMITS Feature: Speed limits UI User interface updates
Milestone

Comments

@RenaKunisaki
Copy link

https://steamcommunity.com/sharedfiles/filedetails/?id=1728287987 the speed limit icons are gigantic. Could stand to be the same size as the main panel.

@originalfoo
Copy link
Member

originalfoo commented Apr 30, 2019

I also had this problem when I was on previous computer - it would fill half the screen. Yup, we're planning on redoing the whole UI.

#162

@originalfoo originalfoo added duplicate Duplicate of existing issue enhancement Improve existing feature UI User interface updates labels May 1, 2019
@originalfoo
Copy link
Member

originalfoo commented May 1, 2019

Duplicates #84

@RenaKunisaki I've marked this as duplicate as the work is already planned as part of #84 - please subscribe that issue instead to monitor progress.

@originalfoo originalfoo added the SPEED LIMITS Feature: Speed limits label Aug 12, 2019
@originalfoo originalfoo reopened this Sep 14, 2019
@kvakvs
Copy link
Collaborator

kvakvs commented Sep 16, 2019

For now tried the following:

  • reducing the texture sizes: reducing too much creates ugly white pixel artifacts around each sign, so had to stop at 70px which looks kind of OK;
  • removing flexible spacers between signs and on the left: this allowed to have buttons much closer together;
  • stacking the controls below the signs, vertically: this allowed to reduce window width.

More can be done of course, i will continue. Can also try and replace checkboxes with icon buttons. Also should try and scale using the fixed pixel size as reference for 1920x1080 screen, and scaling up or down if the user has different screen.

@originalfoo
Copy link
Member

I think the flat buttons I'm working on might help here.

@kianzarrin
Copy link
Collaborator

see http://www.41post.com/3816/programming/unity-scaling-the-gui-based-on-the-screen-resolution

@kvakvs GUI resolution should be done somewhat globally in a tool class, and then applied to all GUI windows.

I can't see how @kvakvs suggestion would work in practice. either we have to implement a wrapper over all of GUI or our tool class would be limiting. I think we need a helper class that would provide some helper functions in this regard and maybe wrap a few commonly used GUI API.

@kvakvs
Copy link
Collaborator

kvakvs commented Feb 16, 2020

Yes there is going to be an UI builder helper and maybe a few new subclasses for common UI elements (buttons, panels, images etc), which will scale self properly. That's is the plan at least.

@originalfoo originalfoo added this to the 11.6.0 milestone Dec 10, 2021
@originalfoo
Copy link
Member

This has been resolved by #1152, #1157, #1168

Issue #1221 is tracking discussion of additional enhancements which may be made in future.

@originalfoo originalfoo modified the milestones: 11.6.0, 11.6.1.2 Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate of existing issue enhancement Improve existing feature SPEED LIMITS Feature: Speed limits UI User interface updates
Projects
None yet
Development

No branches or pull requests

4 participants