Skip to content

How to use setSize() or initialWidth in dockingview-core / Examples are broken #1066

@diommsantos

Description

@diommsantos

The example in the documentation website (https://dockview.dev/docs/core/panels/resizing) is broken.

Setting initialWidth and initialHeight or calling panel.group.api.setSize() never works no matter what I try.

Can someone please provide an example in plain js (no react) where initialWidth and initialHeight indeed set the initial width and height?

Or alternatively an example where calling panel.group.api.setSize() sets the initial size of the panel?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions