Skip to content

Commit

Permalink
fix: Vertically center window title bar controls (#996)
Browse files Browse the repository at this point in the history
Centers the title bar control buttons, but they will not be the full
height of the title bar until Yaru is updated to include
ubuntu/yaru.dart#967 (will require a version
bump on our end in the future).

| Existing | Current state of this PR | With the Yaru update |
|----------|--------------------------|----------------------|
|
![image](https://github.com/user-attachments/assets/0aa75361-b065-4abf-b734-64c5936a6a00)
|
![image](https://github.com/user-attachments/assets/eebb0dee-656a-4443-93d2-c954a45bb8c7)
|
![image](https://github.com/user-attachments/assets/63aa2cbf-d027-4caf-bed7-1be1d07621e2)
|

---

UDENG-5289
  • Loading branch information
ashuntu authored Dec 4, 2024
2 parents 35ca57a + 941a09b commit 82ce694
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/packages/ubuntupro/lib/pages/widgets/page_widgets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class Pro4WSLPage extends StatelessWidget {
appBar: showTitleBar
? YaruWindowTitleBar(
title: Text(lang.appTitle),
buttonPadding: EdgeInsets.zero,
)
: null,
body: body,
Expand Down

0 comments on commit 82ce694

Please sign in to comment.