Skip to content

New "initialSize" does not allow to fit the content #163043

Open

Description

Type: Bug

Issue #122283 had the request to be able to automatically adjust the height of a view to the content. In the proposal there was also the value "fit" that could have been passed. In the final implementation, however, you can only pass a variable of type number, which no longer solves the actual problem of the issue creator.
Is there a reason for this? Could this still be reimplemented?

VS Code version: Code 1.72.0 (64bbfbf, 2022-10-04T23:20:39.912Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

Activity

  1. alexr00 commented on Oct 10, 2022

    @alexr00
    Member

    Christoph Erdmann (@McSodbrenner) we didn't include a "fit" option because there wasn't enough of a reason to. It could still be added later if we change out minds.

  2. added
    feature-request
    tree-views
    on Oct 10, 2022
  3. vscodenpa commented on Oct 10, 2022

    @vscodenpa

    This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requesttree-views

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions