##// END OF EJS Templates
Fixed pre-display "pixel-like" widget attribute parsing
Jonathan Frederic -
Show More
@@ -542,11 +542,11 define(["widgets/js/manager",
542 542 this.update_attr('border-style', this.model.get('border_style'));
543 543 this.update_attr('font-style', this.model.get('font_style'));
544 544 this.update_attr('font-weight', this.model.get('font_weight'));
545 this.update_attr('font-size', this.model.get('font_size'));
545 this.update_attr('font-size', this._default_px(this.model.get('font_size')));
546 546 this.update_attr('font-family', this.model.get('font_family'));
547 547 this.update_attr('padding', this.model.get('padding'));
548 this.update_attr('margin', this.model.get('margin'));
549 this.update_attr('border-radius', this.model.get('border_radius'));
548 this.update_attr('margin', this._default_px(this.model.get('margin')));
549 this.update_attr('border-radius', this._default_px(this.model.get('border_radius')));
550 550
551 551 this.update_css(this.model, this.model.get("_css"));
552 552 }, this);
General Comments 0
You need to be logged in to leave comments. Login now