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

[UI] Online players window's button size is not updated when resizing to double/quad interface size #9363

Open
telk5093 opened this issue Jun 13, 2021 · 2 comments

Comments

@telk5093
Copy link
Contributor

@telk5093 telk5093 commented Jun 13, 2021

Version of OpenTTD

20210612-master-g8dd846bad4

Expected result

Buttons are resized properly

Actual result

image

Steps to reproduce

  1. set zoom_min 0
  2. Set Interface size as Double or Quad size
  3. Open Online players window
@TrueBrain
Copy link
Member

@TrueBrain TrueBrain commented Jun 16, 2021

Works for me in the steps you mention to reproduce.

The thing that does break, is when you change the Interface size while you have the Online players windows open. In that case the buttons are not recalculated in size. Closing and opening the GUI does fix that problem (at least, for me it does).

Am I correct in that this is the case for you too?

Loading

@telk5093
Copy link
Contributor Author

@telk5093 telk5093 commented Jun 17, 2021

Yes, you're right. Re-opening the window resizes the buttons for me, too.

Loading

@LordAro LordAro changed the title [UI] Online players window's buttons is not resized when use double/quad interface size [UI] Online players window's button size is not updated when resizing to double/quad interface size Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants