Merge pull request #3169 from grummbeer/unify-dialog-padding

Dialog. Adjust padding of the title.
This commit is contained in:
RustDesk 2023-02-12 20:13:29 +08:00 committed by GitHub
commit 3cc0c1df69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -653,6 +653,7 @@ class CustomAlertDialog extends StatelessWidget {
child: AlertDialog(
scrollable: true,
title: title,
titlePadding: EdgeInsets.fromLTRB(padding, 24, padding, 0),
contentPadding: EdgeInsets.fromLTRB(
contentPadding ?? padding, 25, contentPadding ?? padding, 10),
content: ConstrainedBox(