From 941a09b8b88540cb6199d9d3d9152614c62db0d4 Mon Sep 17 00:00:00 2001 From: ashuntu Date: Tue, 3 Dec 2024 13:26:44 -0600 Subject: [PATCH] Vertically center window title bar controls Centers the title bar control buttons, but they will not be the full height of the title bar until Yaru is updated to include https://github.com/ubuntu/yaru.dart/pull/967 --- gui/packages/ubuntupro/lib/pages/widgets/page_widgets.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/packages/ubuntupro/lib/pages/widgets/page_widgets.dart b/gui/packages/ubuntupro/lib/pages/widgets/page_widgets.dart index 0278b20d3..a27003310 100644 --- a/gui/packages/ubuntupro/lib/pages/widgets/page_widgets.dart +++ b/gui/packages/ubuntupro/lib/pages/widgets/page_widgets.dart @@ -59,6 +59,7 @@ class Pro4WSLPage extends StatelessWidget { appBar: showTitleBar ? YaruWindowTitleBar( title: Text(lang.appTitle), + buttonPadding: EdgeInsets.zero, ) : null, body: body,