From 8bc7026a012c199e509ccec313f2db85b55e8f4e Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Mon, 22 Jun 2026 23:55:24 -0600 Subject: [PATCH] fix(slint): right-align the Output device controls The refresh button + device select sat in a center-aligned row, so they floated with a right-hand gap once the window widened out of responsive mode instead of landing flush on the same right edge as the single-control rows. Switch the row to alignment: end. cc --- crates/qbz-slint/ui/settings/AudioSettings.slint | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/qbz-slint/ui/settings/AudioSettings.slint b/crates/qbz-slint/ui/settings/AudioSettings.slint index 7df276987..b819a4c70 100644 --- a/crates/qbz-slint/ui/settings/AudioSettings.slint +++ b/crates/qbz-slint/ui/settings/AudioSettings.slint @@ -100,7 +100,11 @@ export component AudioSettings inherits VerticalLayout { description: @tr("The DAC or sound device that receives audio."); HorizontalLayout { spacing: 8px; - alignment: center; + // Right-align the refresh + select so the row's trailing controls + // land flush on the same right edge as the single-control rows when + // the window widens out of responsive mode (was `center`, which left + // a floating right-hand gap). + alignment: end; // Refresh / release: frees a device QBZ is holding exclusively // (ALSA Direct) and re-enumerates, so a DAC that's invisible to // PipeWire — or one hot-plugged while QBZ ran — shows up without