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

Fix game HUD too low on narrow (<16:9) resolutions #2689

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

petchema
Copy link
Collaborator

@petchema petchema commented Aug 16, 2024

All the HUD expect NativePanel to be aligned on the top of the screen, which is not the case for resolutions narrower than 16:10 (the ratio of 320:200). Explicitly align it to the top.

Forums: https://forums.dfworkshop.net/viewtopic.php?t=6769

All the UI expect NativePanel to be aligned on the top of the screen,
which is not the case for resolutions narrower than 16:10 (the ratio of
320:200). Explicitly align it to the top.
One small issue found after fixing UI positioning, is that in 4:3
resolution the first debuff icon and the action mode icon overlap.

Going back to classic Daggerfall, the first debuff icon is actually to
the right of the first buff icon (in fact it's aligned with the 2nd buff
icon).

Matching classic actually fixes that small issue.

What I was at it, improved the way icons adjust to the HUD by specifying
whether they're anchored to the top, bottom, left or right of the
screen.
@petchema petchema added bug UI Change or issue related to the User Interface labels Aug 16, 2024
@petchema
Copy link
Collaborator Author

One small issue found after fixing UI positioning, is that in 4:3 resolution the first debuff icon and the action mode icon overlap.

Going back to classic Daggerfall, the first debuff icon is actually to the right of the first buff icon (in fact it's aligned with the 2nd buff icon).

debuff offset

So matching classic actually fixes that small issue.

What I was at it, improved the way icons adjust to the HUD by specifying whether they're anchored to the top, bottom, left or right of the screen.

@petchema petchema changed the title Fix game UI too low on narrow (<16:9) resolutions Fix game HUD too low on narrow (<16:9) resolutions Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug UI Change or issue related to the User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant