Skip to content

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

Open
@a-stewart

Description

@a-stewart

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.

Metadata

Metadata

Assignees

Labels

apifeature-requestRequest for new features or functionalitytree-viewsExtension tree view issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions