From 95622c6e743c859459a66be40d84254b242a8073 Mon Sep 17 00:00:00 2001 From: firstcryptoman <86235719+firstcryptoman@users.noreply.github.com> Date: Tue, 16 Apr 2024 07:10:49 +0400 Subject: [PATCH] Firo-QT cosmetic fixes (#1425) * Resolved dropdown box sizing overlap * UI fixes * UI fixes for dark theme --- src/qt/bitcoingui.cpp | 1 + src/qt/res/css/firo.css | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index b1ac1c059c..7e1096e776 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -477,6 +477,7 @@ void BitcoinGUI::createMenuBar() #else // Get the main window's menu bar on other platforms appMenuBar = menuBar(); + appMenuBar->setStyleSheet("QMenuBar::item { color: #000000; }"); #endif // Configure the menus diff --git a/src/qt/res/css/firo.css b/src/qt/res/css/firo.css index ddb8c583e6..27afcf4324 100644 --- a/src/qt/res/css/firo.css +++ b/src/qt/res/css/firo.css @@ -351,7 +351,7 @@ QComboBox::drop-down { } QComboBox::indicator { - background-color: #f4f4f4; + background-color: transparent; selection-background-color: #3d3939; color: #110202; selection-color: #FFFFFF; @@ -373,6 +373,7 @@ QComboBox QAbstractItemView::item { QComboBox::item { color: #110202; font: 12pt 'Source Sans Pro'; + max-height: 25px; } QComboBox::item:alternate { @@ -819,7 +820,10 @@ QTableView::item:selected { color: #FFFFFF; font: 12pt 'Source Sans Pro'; } - +/* QTreeView */ +QTreeView::item { + color: #000000; +} /* QTableWidget */ QTableWidget {