From 98fc3d595288d49932d05138814afdf33cf934e6 Mon Sep 17 00:00:00 2001 From: Ashley Wulber <48420062+wash2@users.noreply.github.com> Date: Tue, 31 Mar 2026 18:20:32 -0400 Subject: [PATCH] =?UTF-8?q?fix(sound):=20allow=20text=20for=20left=20and?= =?UTF-8?q?=20right=20to=20take=20up=20more=20space=20if=20ne=E2=80=A6=20(?= =?UTF-8?q?#1941)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …eded - [x] I have disclosed use of any AI generated code in my commit messages. - If you are using an LLM, and do not fully understand the changes it is making to the code base, do not create a PR. - In our experience, AI generated code often results in overly complex code that lacks enough context for a proper fix or feature inclusion. This results in considerably longer code reviews. Due to this, AI authored or partially authored PRs may be closed without comment. - [x] I understand these changes in full and will be able to respond to review comments. - [x] My change is accurately described in the commit message. - [x] My contribution is tested and working as described. - [x] I have read the [Developer Certificate of Origin](https://developercertificate.org/) and certify my contribution under its conditions. --- cosmic-settings/src/pages/sound/mod.rs | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/cosmic-settings/src/pages/sound/mod.rs b/cosmic-settings/src/pages/sound/mod.rs index 2ad1974..1a2da66 100644 --- a/cosmic-settings/src/pages/sound/mod.rs +++ b/cosmic-settings/src/pages/sound/mod.rs @@ -402,9 +402,13 @@ fn output() -> Section { widget::row::with_capacity(4) .align_y(Alignment::Center) .push( - widget::text::body(&*section.descriptions[left]) - .width(Length::Fixed(22.0)) - .align_x(Alignment::Center), + widget::column::column() + .align_x(Alignment::Center) + .push( + widget::text::body(&*section.descriptions[left]) + .align_x(Alignment::Center), + ) + .push(horizontal_space().width(22.)), ) .push(horizontal_space().width(8.)) .push( @@ -418,9 +422,13 @@ fn output() -> Section { ) .push(horizontal_space().width(8.)) .push( - widget::text::body(&*section.descriptions[right]) - .width(Length::Fixed(22.0)) - .align_x(Alignment::Center), + widget::column::column() + .align_x(Alignment::Center) + .push( + widget::text::body(&*section.descriptions[right]) + .align_x(Alignment::Center), + ) + .push(horizontal_space().width(22.0)), ), ));