mirror of
https://github.com/mathuo/dockview
synced 2025-05-02 17:48:25 +00:00
Merge pull request #516 from mathuo/447-feature-request-adding-a-gap-around-panels
feat: correct contain size
This commit is contained in:
commit
05ff795188
@ -141,6 +141,8 @@ export abstract class BaseGrid<T extends IGridPanelView>
|
||||
|
||||
constructor(options: BaseGridOptions) {
|
||||
super(document.createElement('div'), options.disableAutoResizing);
|
||||
this.element.style.height = '100%';
|
||||
this.element.style.width = '100%';
|
||||
|
||||
options.parentElement.appendChild(this.element);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user