From 98c9cf142db0ea9f5f0b132d4a200d4f2995946c Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Tue, 5 Aug 2025 21:40:31 +0200 Subject: [PATCH] slight improvment to combobox sizes --- src/ui/gui/controller_page.slint | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ui/gui/controller_page.slint b/src/ui/gui/controller_page.slint index 89cbbde..9107245 100644 --- a/src/ui/gui/controller_page.slint +++ b/src/ui/gui/controller_page.slint @@ -89,10 +89,12 @@ export component ControllerConfig inherits Page { if !ControllerData.blank_profiles: GroupBox { title: @tr("Profile"); + horizontal-stretch: 0.25; VerticalLayout { alignment: space-between; for player in [0, 1, 2, 3]: ComboBox { model: ControllerData.input_profiles; + min-width: self.preferred-width; current-index: ControllerData.selected_profile_binding[player]; selected => { ControllerData.selected_profile_binding[player] = self.current-index; @@ -103,11 +105,12 @@ export component ControllerConfig inherits Page { GroupBox { title: @tr("Controller"); + horizontal-stretch: 0.75; VerticalLayout { alignment: space-between; for player in [0, 1, 2, 3]: ComboBox { model: ControllerData.controller_names; - width: self.preferred-width; + min-width: self.preferred-width; current-index: ControllerData.selected_controller[player]; selected => { ControllerData.selected_controller[player] = self.current-index;