From 70df786345a0e4587861d55e345f6337c3ac9b3b Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 15 Dec 2021 18:06:30 +0800 Subject: [PATCH] bugfix --- src/base/single/button/buttons/button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/single/button/buttons/button.js b/src/base/single/button/buttons/button.js index cb3024664..4337a9540 100644 --- a/src/base/single/button/buttons/button.js +++ b/src/base/single/button/buttons/button.js @@ -88,7 +88,7 @@ BI.Button = BI.inherit(BI.BasicButton, { } else { this.text = BI.createWidget({ type: "bi.label", - height: lineHeight, + height: o.height, textAlign: o.textAlign, whiteSpace: o.whiteSpace, textWidth: o.textWidth,