Skip to content

Commit 3cc0c1d

Browse files
authored
Merge pull request rustdesk#3169 from grummbeer/unify-dialog-padding
Dialog. Adjust padding of the title.
2 parents 3d40569 + bf38fb7 commit 3cc0c1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flutter/lib/common.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,7 @@ class CustomAlertDialog extends StatelessWidget {
653653
child: AlertDialog(
654654
scrollable: true,
655655
title: title,
656+
titlePadding: EdgeInsets.fromLTRB(padding, 24, padding, 0),
656657
contentPadding: EdgeInsets.fromLTRB(
657658
contentPadding ?? padding, 25, contentPadding ?? padding, 10),
658659
content: ConstrainedBox(

0 commit comments

Comments
 (0)