Better sizing when not displaying

This commit is contained in:
Evert Timberg 2015-12-07 21:58:48 -05:00
parent a2e1a97382
commit 4f8f182d21

View File

@ -173,6 +173,7 @@
} }
// Increase sizes here // Increase sizes here
if (this.options.display) {
if (this.isHorizontal()) { if (this.isHorizontal()) {
// Labels // Labels
@ -207,6 +208,7 @@
} else { } else {
// TODO vertical // TODO vertical
} }
}
this.width = this.minSize.width; this.width = this.minSize.width;
this.height = this.minSize.height; this.height = this.minSize.height;