Skip to content

Get Player's Screen Resolution/Aspect Ratio #24

@jacobcoughenour

Description

@jacobcoughenour

This is a small request, but could we get a way to retrieve the client's screen resolution or aspect ratio (width/height), maybe even their UI Scale setting?
Just having the client's aspect ratio would help in making cleaner CUI interfaces that are consistent and adapt properly across different resolutions and aspect ratios.

Here are some posts from oxidemod.org asking for this:
http://oxidemod.org/threads/getting-clients-screen-resolution.18428/
http://oxidemod.org/threads/checking-the-players-resolution.21254/
http://oxidemod.org/threads/adapt-cui-to-resolution.23584/
http://oxidemod.org/threads/getting-users-resolution.19236/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions