summarylogtreecommitdiffstats
path: root/fix-governor-selection-combobox-definition-to-permit-correct-clickable-display.patch
blob: bd799143720689171e1df7922f56609296b4527b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 371eda279137f85bdd4f850e8defa4e7d4158f3d Mon Sep 17 00:00:00 2001
From: em <115369747+Aeasala@users.noreply.github.com>
Date: Sun, 23 Jul 2023 12:34:29 -0400
Subject: [PATCH] Fix combobox rendering using implicitWidth, implicitHeight

---
 src/package/contents/ui/ComboBox.qml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/package/contents/ui/ComboBox.qml b/src/package/contents/ui/ComboBox.qml
index 5c8f1b5..89f0aaa 100644
--- a/src/package/contents/ui/ComboBox.qml
+++ b/src/package/contents/ui/ComboBox.qml
@@ -164,6 +164,8 @@ RowLayout {
         }
 
         background: Rectangle {
+            implicitWidth: combobox.width
+            implicitHeight: combobox.height
             color: Qt.rgba(0, 0, 0, 0)
             border.color: theme.highlightColor
             border.width: combobox.down || combobox.customHovered ? 1 : 0