mojira.dev
MC-159649

Cancel button is over text, or above text, when joining to a server with large resolution and small gui scale

Steps to Reproduce (on 1080p monitor):

  • Set GUI scale to 1

  • Go fullscreen

  • Join any server

What I expected to happen:

The button will be bellow text, where it should be (ex. failed to connect to server screen)

 

[media]

What actually happened:

The button is over text or above text

[media][media]

To have button over text you must have vertical resolution between 700-800 where around 750 you can't see any text. (with GUI scale 1 ofc)

You can aslo notice that where the cancel button is placed/rendered depends on vertical resolution.
The button is alligned differently than the text. The button is alligned to top and the text is alligned to center.

Linked issues

Attachments

Comments 1

Can confirm in 23w16a.

Noggin

(Unassigned)

Confirmed

Platform

Low

UI

gui, gui-button

1.14.4, 19w34a, 19w35a, 19w37a, 19w38b, ..., 1.16.4, 1.19.4, 23w16a, 24w11a, 1.21

Retrieved