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

Resize half window size #3054

Open
kleutzinger opened this issue Oct 5, 2023 · 4 comments · May be fixed by #3411
Open

Resize half window size #3054

kleutzinger opened this issue Oct 5, 2023 · 4 comments · May be fixed by #3411
Labels
enhancement New feature or request

Comments

@kleutzinger
Copy link

kleutzinger commented Oct 5, 2023

Is your feature request related to a problem? Please describe.

  • I prefer the half view for my most common use cases. but for the file tree, the left hand side doesn't need to be that wide.
  • I have this in my config
gui:
  windowSize: "half"

Describe the solution you'd like

  • It'd be nice to have a configurable value to set the width of the half.
  • there already exists sidePanelWidth: 0.3333 # number from 0 to 1, but this is not respected by the half screen, only the normal screen.
  • maybe something like halfSidePanelWidth: ...

Describe alternatives you've considered
Staying in normal mode and resizing the left hand side via the sidePanelWidth option. But i prefer half

Additional context

image

  • I'd like to be able to resize the right pane to the size of the red box.
@kleutzinger kleutzinger added the enhancement New feature or request label Oct 5, 2023
@mark2185
Copy link
Collaborator

mark2185 commented Oct 5, 2023

Would you be interested in opening a PR? This seems like a good first issue.

It's okay if you're not interested :)

@kleutzinger
Copy link
Author

i can give it a shot

@kleutzinger
Copy link
Author

i couldn't figure out how to implement this myself.

@jesseduffield
Copy link
Owner

We should have four window sizes:

  • normal
  • tall
  • half
  • full

I still like having half for when you actually do want to see a little more of a window horizontally without taking up the full size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants