call InputBox.layout from the outside

fixes #210
This commit is contained in:
Joao Moreno
2015-11-20 16:14:58 +01:00
parent 7b17eca69e
commit ad5c529564
2 changed files with 9 additions and 5 deletions

View File

@@ -197,6 +197,7 @@ export class ChangesView extends EventEmitter.EventEmitter implements GitView.IV
this.currentDimension = dimension;
this.commitInputBox.layout();
var statusViewHeight = dimension.height - (this.commitInputBox.height + 10 /* margin */);
this.$statusView.size(dimension.width, statusViewHeight);
this.tree.layout(statusViewHeight);