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: window overflowing small screens #4156

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

Conversation

WofWca
Copy link
Collaborator

@WofWca WofWca commented Oct 1, 2024

...with high zoom level.

Closes #4063

I did not test this because for me setMinimumSize is not working. Though I played around with window sizes to determine the new numbers.

...with high zoom level.

Closes #4063
@WofWca WofWca force-pushed the wofwca/fix-overflow-on-smaller-screens branch from 723a7c6 to 6e6dc3a Compare October 1, 2024 09:23
@WofWca WofWca marked this pull request as ready for review October 1, 2024 12:00
@Simon-Laux
Copy link
Member

zoom and system dpi are 2 different scaling factors. maybe we should rather just remove the min size? or we somehow find out dpi and then somehow incorporate it into the calculation. Also this affects the other windows too, if I'm not mistaken?

@WofWca
Copy link
Collaborator Author

WofWca commented Oct 2, 2024

Also this affects the other windows too, if I'm not mistaken?

Yes. initMinWinDimensionHandling is also used for the help window and the HTML email viewer (but not webxdc).

maybe we should rather just remove the min size?

I was thinking about that as well, but wasn't sure if it's OK. WhatsApp, Signal, Telegram enforce min size. I'm worried that there might be a strong reason for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants