Extend colour label widget to accept two colour states

This commit is contained in:
Veronica Berglyd Olsen
2024-06-18 22:41:29 +02:00
parent f7d0adad1b
commit 869cdd2fb0
10 changed files with 46 additions and 26 deletions
+2 -2
View File
@@ -66,8 +66,8 @@ class GuiPreferences(NDialog):
# Title
self.titleLabel = NColourLabel(
self.tr("Preferences"), SHARED.theme.helpText,
parent=self, scale=NColourLabel.HEADER_SCALE, indent=CONFIG.pxInt(4)
self.tr("Preferences"), self, color=SHARED.theme.helpText,
scale=NColourLabel.HEADER_SCALE, indent=CONFIG.pxInt(4)
)
# Search Box