set font-size on outer layout container

For #34
This commit is contained in:
jderose9
2017-03-29 17:37:45 -04:00
parent f2bdb0dbaa
commit 4147dfe8aa

View File

@@ -120,6 +120,9 @@ const dtpPanelStyle = new Lang.Class({
this._overrideStyle(actor, trayContentSizeStyleLine, operationIdx);
});
this._rightBoxOperations.push(operation);
this._overrideStyle(this.panel._rightBox, trayContentSizeStyleLine, 0);
this._overrideStyle(this.panel._centerBox, trayContentSizeStyleLine, 0);
}
// center box has been moved next to the right box and will be treated the same
@@ -164,22 +167,27 @@ const dtpPanelStyle = new Lang.Class({
this._overrideStyle(actor, leftboxContentSizeStyleLine, operationIdx);
});
this._leftBoxOperations.push(operation);
this._overrideStyle(this.panel._leftBox, leftboxContentSizeStyleLine, 0);
}
/*recurse actors */
this._restoreOriginalStyle(this.panel._rightBox);
if(this._rightBoxOperations.length) {
let children = this.panel._rightBox.get_children();
for(let i in children)
this._recursiveApply(children[i], this._rightBoxOperations);
}
this._restoreOriginalStyle(this.panel._centerBox);
if(this._centerBoxOperations.length) {
let children = this.panel._centerBox.get_children();
for(let i in children)
this._recursiveApply(children[i], this._centerBoxOperations);
}
this._restoreOriginalStyle(this.panel._leftBox);
if(this._leftBoxOperations.length) {
let children = this.panel._leftBox.get_children();
for(let i in children)