From 9ad6207bd5e8a7393b74a17d9c7c015b63b015e3 Mon Sep 17 00:00:00 2001 From: wgh19 Date: Fri, 31 May 2024 15:28:04 +0800 Subject: [PATCH] fix drag issue --- lib/pages/main_page.dart | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lib/pages/main_page.dart b/lib/pages/main_page.dart index d2c5150..c9cbe4e 100644 --- a/lib/pages/main_page.dart +++ b/lib/pages/main_page.dart @@ -269,11 +269,17 @@ class _MainPageState extends State with WindowListener { if (!App.isDesktop) const Spacer(), if (App.isDesktop) const Expanded( - child: DragToMoveArea( + child: SizedBox( + height: double.infinity, + child: DragToMoveArea( + child: Align( + alignment: Alignment.centerLeft, child: Text( - "Pixes", - style: TextStyle(fontSize: 13), - )), + "Pixes", + style: TextStyle(fontSize: 13), + ), + )), + ), ), for (var action in controller.actions) Button(