Tencent / tdesign-flutter

A Flutter UI components lib for TDesign.
https://tdesign.tencent.com/flutter
527 stars 74 forks source link

[TDButton] 当shape为square和circle时会right overflow 2px #254

Open NEOLEE98 opened 1 month ago

NEOLEE98 commented 1 month ago

tdesign-flutter 版本

0.1.6

重现链接

No response

重现步骤

const Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Row(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Column(
                children: [
                  TDButton(
                    icon: TDIcons.usergroup,
                    shape: TDButtonShape.square,
                    theme: TDButtonTheme.primary,
                    type: TDButtonType.outline,
                  ),
                  Text('CRM')
                ],
              ),
              SizedBox(width: sizeBoxWidth),
              Column(
                children: [
                  TDButton(
                    icon: TDIcons.usergroup,
                    shape: TDButtonShape.square,
                    theme: TDButtonTheme.primary,
                    type: TDButtonType.outline,
                  ),
                  Text('资产管理')
                ],
              ),
              SizedBox(width: sizeBoxWidth),
              Column(
                children: [
                  TDButton(
                    icon: TDIcons.usergroup,
                    shape: TDButtonShape.square,
                    theme: TDButtonTheme.primary,
                    type: TDButtonType.outline,
                  ),
                  Text('管理工具')
                ],
              ),
            ],
          ),
        ],
      ),

期望结果

No response

实际结果

No response

Flutter版本

3.22.3

设备与机型信息

Android(redmi note 11)

系统版本

Android 13

补充说明

No response

github-actions[bot] commented 1 month ago

👋 @NEOLEE98,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

NEOLEE98 commented 1 month ago

f6d5cbc70f5bb08b6393bec0574d0183

NEOLEE98 commented 1 month ago

经测试circle也有此问题

github-actions[bot] commented 3 weeks ago

这个 Issue 被标记为了过时 stale ,因为它已经持续 30 天没有任何活动了。删除 stale 标签或评论,否则将在 7 天内关闭。