From 08290a0c8c3a77290ce16b1133a8d1cb4394730f Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 3 May 2021 12:33:25 +0800 Subject: [PATCH] bugfix --- src/base/single/button/buttons/button.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/base/single/button/buttons/button.js b/src/base/single/button/buttons/button.js index c432bc7d0..4f103ab82 100644 --- a/src/base/single/button/buttons/button.js +++ b/src/base/single/button/buttons/button.js @@ -83,6 +83,7 @@ BI.Button = BI.inherit(BI.BasicButton, { } else { this.text = BI.createWidget({ type: "bi.label", + height: o.height - 2, textAlign: o.textAlign, whiteSpace: o.whiteSpace, textWidth: o.textWidth,