Skip to content

Commit

Permalink
FIX: issue [TDAlertDialog] 按钮样式没有铺满
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjs committed Jan 20, 2025
1 parent 7452de9 commit 541dbb1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ class HorizontalTextButtons extends StatelessWidget {
buttonStyle: leftBtn.style,
buttonType: leftBtn.type ?? TDButtonType.text,
buttonTheme: leftBtn.theme,
height: leftBtn.height,
// fix: The button height does not fill the container.
height: 56,
buttonTextFontWeight: leftBtn.fontWeight,
onPressed: () {
if(leftBtn.action != null){
Expand All @@ -330,7 +331,7 @@ class HorizontalTextButtons extends StatelessWidget {
buttonStyle: leftBtn.style,
buttonType: leftBtn.type ?? TDButtonType.text,
buttonTheme: leftBtn.theme ?? TDButtonTheme.primary,
height: rightBtn.height,
height: 56,
buttonTextFontWeight: rightBtn.fontWeight ?? FontWeight.w600,
onPressed: () {
if(rightBtn.action != null){
Expand Down

0 comments on commit 541dbb1

Please sign in to comment.