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

FR: Allow extension views to be defined as a fixed height. #175270

Open
a-stewart opened this issue Feb 23, 2023 · 0 comments
Open

FR: Allow extension views to be defined as a fixed height. #175270

a-stewart opened this issue Feb 23, 2023 · 0 comments
Assignees
Labels
api feature-request Request for new features or functionality tree-views Extension tree view issues
Milestone

Comments

@a-stewart
Copy link
Contributor

Would it be possible to have a view where the height is defined as a fixed value, rather than scaling proportionally to the size of the view container.

For example, I often move code between a vertical and a horizontal monitor. In my side bar I have a few small panels which I never want to change height.

image

When I change to the vertical monitor. Those bottom two panels which I have set the height to exactly what I want, then get scaled.

image

What would be ideal is a field in package.json that lets me specify that this panel should be fixed height, and that if the viewport changes, these panels should not be scaled unless unavoidable.

If the views are forced to scale, then they should ideally remember the value the user set them to and try and return to that value when more space is available again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api feature-request Request for new features or functionality tree-views Extension tree view issues
Projects
None yet
Development

No branches or pull requests

4 participants