Skip to content
New issue

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

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

Already on GitHub? # to your account

pyui: auto-fit screen size #34689

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deanlee
Copy link
Contributor

@deanlee deanlee commented Feb 23, 2025

updates GuiApplication to auto fit the screen size on PC, ensuring the UI adjusts to the display resolution.

Comment on lines -141 to +152
gui_app = GuiApplication(2160, 1080)
def _init_gui_app():
if TICI:
return GuiApplication(2160, 1080)
else:
return GuiApplication(0, 0)


gui_app = _init_gui_app()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With my monitor resolution, the UI is just full black because of the current scaling

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants