make progress bar right margin to cancel button

This commit is contained in:
rustdesk 2023-06-05 03:04:07 +08:00
parent fb78831c8a
commit 1168567d5e

View File

@ -232,7 +232,7 @@ class _InstallPageBodyState extends State<_InstallPageBody>
child: Text(translate('Cancel'),
style: TextStyle(
color: textColor, fontSize: btnFontSize)))
.marginOnly(right: 2 * em)),
.marginSymmetric(horizontal: 2 * em)),
Obx(() => ElevatedButton(
onPressed: btnEnabled.value ? install : null,
style: ElevatedButton.styleFrom(