* Minor work on post view FSE / related

This commit is contained in:
Bryan Ashby 2015-09-02 23:11:17 -06:00
parent 8b3b36fd83
commit 42ddabd875
7 changed files with 91 additions and 39 deletions

View file

@ -127,9 +127,14 @@ TextView.prototype.setText = function(text) {
this.text = strUtil.stylizeString(this.text, this.hasFocus ? this.focusTextStyle : this.textStyle);
/*
if(this.resizable) {
this.dimens.width = this.text.length + widthDelta;
}
*/
if(this.autoScale.width) {
this.dimens.width = this.text.length + widthDelta;
}
this.redraw();
};