refactoring of layout finished

This commit is contained in:
zadam
2020-02-27 10:03:14 +01:00
parent 637010577b
commit 368d0c55da
13 changed files with 82 additions and 85 deletions

View File

@@ -2,10 +2,13 @@ import options from "../services/options.js";
import FlexContainer from "./flex_container.js";
export default class SidePaneContainer extends FlexContainer {
constructor(parent, side, widgetFactories) {
super(parent, {id: side + '-pane', 'flex-direction': 'column', 'height': '100%'}, widgetFactories);
constructor(side) {
super('column');
this.side = side;
this.id(side + '-pane');
this.css('height', '100%');
}
isEnabled() {