guy 7 years ago
parent
commit
db11db75a0
  1. 2
      dist/base.js
  2. 2
      dist/bundle.js
  3. 2
      dist/bundle.min.css
  4. 36
      dist/bundle.min.js
  5. 2
      dist/fineui.js
  6. 2
      dist/fineui.min.css
  7. 36
      dist/fineui.min.js
  8. 2
      src/base/single/label/label.js

2
dist/base.js vendored

@ -20080,6 +20080,7 @@ BI.Label = BI.inherit(BI.Single, {
var json = this._createJson(); var json = this._createJson();
if (BI.isNumber(o.width) && o.width > 0) { if (BI.isNumber(o.width) && o.width > 0) {
if (BI.isNumber(o.textWidth) && o.textWidth > 0) { if (BI.isNumber(o.textWidth) && o.textWidth > 0) {
json.width = o.textWidth;
if (BI.isNumber(o.height) && o.height > 0) { if (BI.isNumber(o.height) && o.height > 0) {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
@ -20099,7 +20100,6 @@ BI.Label = BI.inherit(BI.Single, {
this.element.css({"line-height": o.height + "px"}); this.element.css({"line-height": o.height + "px"});
return; return;
} }
json.width = o.textWidth;
BI.createWidget({ BI.createWidget({
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
scrollable: o.whiteSpace === "normal", scrollable: o.whiteSpace === "normal",

2
dist/bundle.js vendored

@ -46132,6 +46132,7 @@ BI.Label = BI.inherit(BI.Single, {
var json = this._createJson(); var json = this._createJson();
if (BI.isNumber(o.width) && o.width > 0) { if (BI.isNumber(o.width) && o.width > 0) {
if (BI.isNumber(o.textWidth) && o.textWidth > 0) { if (BI.isNumber(o.textWidth) && o.textWidth > 0) {
json.width = o.textWidth;
if (BI.isNumber(o.height) && o.height > 0) { if (BI.isNumber(o.height) && o.height > 0) {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
@ -46151,7 +46152,6 @@ BI.Label = BI.inherit(BI.Single, {
this.element.css({"line-height": o.height + "px"}); this.element.css({"line-height": o.height + "px"});
return; return;
} }
json.width = o.textWidth;
BI.createWidget({ BI.createWidget({
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
scrollable: o.whiteSpace === "normal", scrollable: o.whiteSpace === "normal",

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

36
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.js vendored

@ -47896,6 +47896,7 @@ BI.Label = BI.inherit(BI.Single, {
var json = this._createJson(); var json = this._createJson();
if (BI.isNumber(o.width) && o.width > 0) { if (BI.isNumber(o.width) && o.width > 0) {
if (BI.isNumber(o.textWidth) && o.textWidth > 0) { if (BI.isNumber(o.textWidth) && o.textWidth > 0) {
json.width = o.textWidth;
if (BI.isNumber(o.height) && o.height > 0) { if (BI.isNumber(o.height) && o.height > 0) {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
@ -47915,7 +47916,6 @@ BI.Label = BI.inherit(BI.Single, {
this.element.css({"line-height": o.height + "px"}); this.element.css({"line-height": o.height + "px"});
return; return;
} }
json.width = o.textWidth;
BI.createWidget({ BI.createWidget({
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
scrollable: o.whiteSpace === "normal", scrollable: o.whiteSpace === "normal",

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

36
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
src/base/single/label/label.js

@ -234,6 +234,7 @@ BI.Label = BI.inherit(BI.Single, {
var json = this._createJson(); var json = this._createJson();
if (BI.isNumber(o.width) && o.width > 0) { if (BI.isNumber(o.width) && o.width > 0) {
if (BI.isNumber(o.textWidth) && o.textWidth > 0) { if (BI.isNumber(o.textWidth) && o.textWidth > 0) {
json.width = o.textWidth;
if (BI.isNumber(o.height) && o.height > 0) { if (BI.isNumber(o.height) && o.height > 0) {
BI.createWidget({ BI.createWidget({
type: "bi.adaptive", type: "bi.adaptive",
@ -253,7 +254,6 @@ BI.Label = BI.inherit(BI.Single, {
this.element.css({"line-height": o.height + "px"}); this.element.css({"line-height": o.height + "px"});
return; return;
} }
json.width = o.textWidth;
BI.createWidget({ BI.createWidget({
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
scrollable: o.whiteSpace === "normal", scrollable: o.whiteSpace === "normal",

Loading…
Cancel
Save