From 3f053dbd87ce69522d52365dbe1828d2ca09248b Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Sun, 12 Jan 2020 14:26:16 +1100 Subject: [PATCH 1/2] UI: Fix table heading visibility in Acri --- UI/data/themes/Acri.qss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/UI/data/themes/Acri.qss b/UI/data/themes/Acri.qss index bed8b540f..475ea1f72 100644 --- a/UI/data/themes/Acri.qss +++ b/UI/data/themes/Acri.qss @@ -923,6 +923,20 @@ OBSBasicSettings QListWidget::item { padding-bottom: 5px; } +/* Table */ + +QTableView { + gridline-color: #333336; +} + +QHeaderView { + border: none; +} +QHeaderView::section { + background-color: #101010; + border: 1px solid #333336; + border-left: none; +} /* Locked CheckBox */ LockedCheckBox { From c988f6487dbaaba646bb80ed000b97df0a26ba17 Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Sun, 12 Jan 2020 14:45:33 +1100 Subject: [PATCH 2/2] UI: Allow custom browser delete button to fill the cell --- UI/data/themes/Acri.qss | 4 ++++ UI/window-extra-browsers.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/UI/data/themes/Acri.qss b/UI/data/themes/Acri.qss index 475ea1f72..6ac9989ed 100644 --- a/UI/data/themes/Acri.qss +++ b/UI/data/themes/Acri.qss @@ -937,6 +937,10 @@ QHeaderView::section { border: 1px solid #333336; border-left: none; } +*[themeID="trashIcon"] { + margin: 0; +} + /* Locked CheckBox */ LockedCheckBox { diff --git a/UI/window-extra-browsers.cpp b/UI/window-extra-browsers.cpp index d754d4561..d71153bb4 100644 --- a/UI/window-extra-browsers.cpp +++ b/UI/window-extra-browsers.cpp @@ -138,7 +138,7 @@ void ExtraBrowsersModel::AddDeleteButton(int idx) QPushButton *del = new DelButton(index); del->setProperty("themeID", "trashIcon"); del->setObjectName("extraPanelDelete"); - del->setFixedSize(QSize(20, 20)); + del->setMinimumSize(QSize(20, 20)); connect(del, &QPushButton::clicked, this, &ExtraBrowsersModel::DeleteItem);