mirror of
https://github.com/mathuo/dockview
synced 2025-03-09 23:42:05 +00:00
feat: correct contain size
This commit is contained in:
parent
70014a8c10
commit
5c945e97d6
@ -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…
Reference in New Issue
Block a user