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

Window too small #132

Open
mossmann opened this issue Jul 15, 2024 · 2 comments
Open

Window too small #132

mossmann opened this issue Jul 15, 2024 · 2 comments
Labels
help wanted help from community wanted and appreciated

Comments

@mossmann
Copy link
Member

The default window size is annoyingly narrow. This video is a good example of the issue on macOS, and I've noticed the same on Linux: #129 (comment)

@mossmann
Copy link
Member Author

Perhaps this should be a separate issue, but part of what is annoying is that you can't see the left edge of the traffic pane contents. If the traffic pane is too small to display the full width of its contents, it seems to me that it should show the leftmost area.

@martinling
Copy link
Member

That annoying behaviour can be avoided by removing the min_content_width and min_content_height calls from ui.rs.

However, doing so causes the UI to open with the traffic and device panes equally sized, which typically makes the traffic pane too narrow and the device pane too wide.

I'm not sure what the right way to customise the default split there is, such that it is set to something sensible on startup but doesn't restrict what the user does with it afterwards.

@martinling martinling added the help wanted help from community wanted and appreciated label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted help from community wanted and appreciated
Projects
None yet
Development

No branches or pull requests

2 participants