From 0e7dd5815e056c99eced51ecbe2915552ce887b4 Mon Sep 17 00:00:00 2001 From: NinjaCheetah <58050615+NinjaCheetah@users.noreply.github.com> Date: Fri, 9 May 2025 13:51:12 -0400 Subject: [PATCH] Improve dropdown styling --- resources/style.qss | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/resources/style.qss b/resources/style.qss index 64e7f83..8bb8130 100644 --- a/resources/style.qss +++ b/resources/style.qss @@ -230,16 +230,20 @@ QComboBox::down-arrow { } QComboBox QAbstractItemView { - background-color: #222222; - border: 1px solid rgba(70, 70, 70, 1); + background-color: #2b2b2b; + border: 1px solid #444444; border-radius: 8px; - padding: 6px 10px; - outline: 0; - show-decoration-selected: 1; + selection-background-color: #1a73e8; + selection-color: white; + padding: 4px; + outline: none; } -QComboBox QAbstractItemView::item:selected { - background-color: #1a73e8; +QComboBox QAbstractItemView::item { + height: 25px; + border-radius: 4px; + padding: 4px 8px; + margin: 2px 0px; } QComboBox QAbstractItemView::item:hover {