From 1168567d5e579a3c2607bbe20ce8978790ffddfb Mon Sep 17 00:00:00 2001 From: rustdesk Date: Mon, 5 Jun 2023 03:04:07 +0800 Subject: [PATCH] make progress bar right margin to cancel button --- flutter/lib/desktop/pages/install_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter/lib/desktop/pages/install_page.dart b/flutter/lib/desktop/pages/install_page.dart index 70d279ca7..979364bbf 100644 --- a/flutter/lib/desktop/pages/install_page.dart +++ b/flutter/lib/desktop/pages/install_page.dart @@ -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(