Skip to content

Conversation

@Gavinkaa
Copy link
Contributor

@Gavinkaa Gavinkaa commented Jun 5, 2025

Allow the VM window to be resized below its configured display resolution by removing the minWidth/minHeight constraints in Run.swift. This lets users on smaller host screens shrink the window for better multitasking.

See issue #1087

@edigaryev
Copy link
Collaborator

edigaryev commented Jun 9, 2025

I've tried this change locally and I'm afraid that this is not a good UX as it's almost impossible to get back to the original dimensions after one fiddles with the Tart window size.

Whereas without this change, you can just resize the window to it's smallest dimensions to get the default size.

This lets users on smaller host screens shrink the window for better multitasking.

I think this can be achieved by modifying your VM as follows:

tart set --display 1x1 <VM name>

@Gavinkaa
Copy link
Contributor Author

Gavinkaa commented Jun 9, 2025

Thanks for checking! Your solution seems to work well, so let's stick with it and avoid any code changes.

@Gavinkaa Gavinkaa closed this Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants