From 491461ba2999f0fa6041b1f3d52ef7fb7465c2c4 Mon Sep 17 00:00:00 2001 From: Ruslan Kabatsayev Date: Sat, 4 Nov 2023 22:21:13 +0400 Subject: [PATCH] Add a temporary workaround for overlapping indicator and text in lists --- data/gui/normalStyle.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/data/gui/normalStyle.css b/data/gui/normalStyle.css index 07de1d3e16a5a..4aca1d5e7c5eb 100644 --- a/data/gui/normalStyle.css +++ b/data/gui/normalStyle.css @@ -409,8 +409,6 @@ QCheckBox:disabled { } QCheckBox::indicator, -QListWidget::indicator, -QListView::indicator, QGroupBox::indicator { width: 16px; height: 16px; @@ -418,6 +416,15 @@ QGroupBox::indicator { background: none; } +/* FIXME: these should configured the same way as QCheckBox and QGroupBox + * indicators, but there's a problem with spacing discussed at + * https://stackoverflow.com/q/77422984 */ +QListWidget::indicator, +QListView::indicator { + margin: 0; + background: none; +} + QCheckBox::indicator:checked, QListWidget::indicator:checked, QListView::indicator:checked,