mirror of
https://github.com/mathuo/dockview
synced 2025-08-26 03:56:44 +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) {
|
constructor(options: BaseGridOptions) {
|
||||||
super(document.createElement('div'), options.disableAutoResizing);
|
super(document.createElement('div'), options.disableAutoResizing);
|
||||||
|
this.element.style.height = '100%';
|
||||||
|
this.element.style.width = '100%';
|
||||||
|
|
||||||
options.parentElement.appendChild(this.element);
|
options.parentElement.appendChild(this.element);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user