From f9c5a424535263c9f61a6f0cc67d12a2eea45294 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Mon, 13 Apr 2026 11:20:09 +0200 Subject: [PATCH] fix: make QComboBox dropdown arrow visible in dark theme The previous border:none rule hid the dropdown indicator entirely, making combos look like plain text fields. Co-Authored-By: Claude Opus 4.6 --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index d0a5f99..5fa5d81 100755 --- a/main.py +++ b/main.py @@ -1182,7 +1182,8 @@ def main(): QPushButton:disabled { color: #555; } QLineEdit { background: #2a2a2a; border: 1px solid #555; padding: 3px; border-radius: 3px; } QComboBox { background: #2a2a2a; border: 1px solid #555; padding: 3px 6px; border-radius: 3px; } - QComboBox::drop-down { border: none; } + QComboBox::drop-down { subcontrol-position: right center; width: 18px; border-left: 1px solid #444; } + QComboBox::down-arrow { image: none; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #888; margin-right: 4px; } QComboBox QAbstractItemView { background: #2a2a2a; border: 1px solid #555; selection-background-color: #3a6ea8; } QSpinBox, QDoubleSpinBox { background: #2a2a2a; border: 1px solid #555; padding: 3px; border-radius: 3px; } QCheckBox::indicator { width: 14px; height: 14px; }