From 6fb82a111e486ed484a11f13824cb1d2cf696b9a Mon Sep 17 00:00:00 2001 From: Jaap-Jan de Wit | DodoTech Date: Mon, 3 Aug 2026 14:04:58 +0200 Subject: [PATCH 01/10] Sit UNLOCK's word in the middle of the button it is drawn on MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A button's content alignment defaults to Stretch and the Fluent template binds it straight through, so a text block filling a 48-pixel button draws its line along the top edge of it rather than across the middle. That is why all seven button classes in Phone.axaml set VerticalContentAlignment, and it is why this one did not: the lock screen is the only place on the phone whose buttons carry their own metrics rather than a class, and it was written with the horizontal half of the pair and not the vertical. Its two neighbours are unaffected and not for the same reason, which is worth knowing before this is read as a pattern: RESET has no fixed height and a symmetric vertical padding, and the fingerprint button's content is a panel that stretches and centres its own children. Only the one with a bare string in a fixed-height box shows it. Left as its own set of metrics rather than folded into Button.primary, which it otherwise duplicates down to the font weight. The two differ in corner radius — 6 here against the 9 the v2 ladder gives a button — and changing that is a design decision rather than a fix to the thing that was reported. --- src/DodoSSH.Client.Android/Views/LockedScreen.axaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/DodoSSH.Client.Android/Views/LockedScreen.axaml b/src/DodoSSH.Client.Android/Views/LockedScreen.axaml index 1d9e6ef..8b2b522 100644 --- a/src/DodoSSH.Client.Android/Views/LockedScreen.axaml +++ b/src/DodoSSH.Client.Android/Views/LockedScreen.axaml @@ -60,8 +60,16 @@ + @@ -101,10 +87,15 @@ + BorderThickness="1" CornerRadius="12" Padding="14,12"> - +