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