From a2140b915f4270844537b9af092d663679692dbc Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 21 Oct 2021 22:27:35 -0700 Subject: [PATCH] Flip main/detail text boldness. Emphasize the main item text and leave the fine print as fine print. --- qt_ui/windows/settings/QSettingsWindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt_ui/windows/settings/QSettingsWindow.py b/qt_ui/windows/settings/QSettingsWindow.py index a66a690d..4717280e 100644 --- a/qt_ui/windows/settings/QSettingsWindow.py +++ b/qt_ui/windows/settings/QSettingsWindow.py @@ -109,10 +109,10 @@ class AutoSettingsLayout(QGridLayout): raise TypeError(f"Unhandled option type: {description}") def add_label(self, row: int, description: OptionDescription) -> None: - text = description.text + text = f"{description.text}" if description.detail is not None: wrapped = "
".join(textwrap.wrap(description.detail, width=55)) - text += f"
{wrapped}" + text += f"
{wrapped}" label = QLabel(text) if description.tooltip is not None: label.setToolTip(description.tooltip)