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
This commit is contained in:
vicrodh committed 2026-06-22 23:55:24 -06:00
1 parent fbbd54679c
commit 8bc7026a01
1 file changed
+5 -1
@@ -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