partially fix issue #2747: text selectable, more top margin of buttons

on dialog
This commit is contained in:
rustdesk
2023-02-01 21:28:26 +08:00
parent fdfda2a982
commit 68cc667f47
3 changed files with 13 additions and 8 deletions

View File

@@ -707,7 +707,8 @@ void msgBox(String id, String type, String title, String text, String link,
dialogManager.show(
(setState, close) => CustomAlertDialog(
title: null,
content: msgboxContent(type, title, text),
content: SelectionArea(
child: msgboxContent(type, title, text).paddingOnly(bottom: 10)),
actions: buttons,
onSubmit: hasOk ? submit : null,
onCancel: hasCancel == true ? cancel : null,