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

Support minimizing windows #129

Open
gdrbyKo1 opened this issue Nov 6, 2019 · 3 comments
Open

Support minimizing windows #129

gdrbyKo1 opened this issue Nov 6, 2019 · 3 comments

Comments

@gdrbyKo1
Copy link

gdrbyKo1 commented Nov 6, 2019

Hi. Thanks for the great library. I'd like to ask about a potential new feature, though. How feasible would it be to support minimizing (folding, collapsing) windows, so that once minimized, only the title bar can be seen?
Something like this: wJk20y3qfC
I skimmed through the code and couldn't figure out a simple way to achieve this. There's the expand MosaicRootAction which could perhaps be used if we had a way of figuring out the required split percentage, but this sounds too much like a hack. And I can only imagine how messy it would get when handling parent element resizes.

@nomcopter
Copy link
Owner

nomcopter commented Nov 7, 2019

What would it do if the windows were side by side? Agreed I don't think this is too doable with the current API. Open to requests and PRs though.

@gdrbyKo1
Copy link
Author

It would only make sense for horizontal panes, yeah. And then another constraint could be that it shouldn't be possible to collapse all the panes in a column, because there should always be at least one element to fill the available vertical space.

@danired
Copy link

danired commented Dec 3, 2022

Hi!

I know this is an old issue but it would be great to have this feature 🥺

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

No branches or pull requests

3 participants