From 23ad8ffcd215c03e88dfc9d9ca4371625ce01031 Mon Sep 17 00:00:00 2001 From: qewer33 Date: Mon, 28 Aug 2023 16:50:19 +0300 Subject: [PATCH] Change default StartPage BackgroundTextColor value --- src/Gui/PreferencePacks/Classic/Classic.cfg | 2 +- src/Mod/Start/Gui/DlgStartPreferences.ui | 6 +++--- src/Mod/Start/StartPage/StartPage.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Gui/PreferencePacks/Classic/Classic.cfg b/src/Gui/PreferencePacks/Classic/Classic.cfg index 3b8c7de79b..763d721adb 100644 --- a/src/Gui/PreferencePacks/Classic/Classic.cfg +++ b/src/Gui/PreferencePacks/Classic/Classic.cfg @@ -37,7 +37,7 @@ - + diff --git a/src/Mod/Start/Gui/DlgStartPreferences.ui b/src/Mod/Start/Gui/DlgStartPreferences.ui index 1ebc5769b1..fbfd1beb4b 100644 --- a/src/Mod/Start/Gui/DlgStartPreferences.ui +++ b/src/Mod/Start/Gui/DlgStartPreferences.ui @@ -349,9 +349,9 @@ By using ";;" to separate paths, you can add several folders here - 255 - 251 - 247 + 95 + 95 + 95 diff --git a/src/Mod/Start/StartPage/StartPage.py b/src/Mod/Start/StartPage/StartPage.py index a6178eea8a..9549e72178 100644 --- a/src/Mod/Start/StartPage/StartPage.py +++ b/src/Mod/Start/StartPage/StartPage.py @@ -602,7 +602,7 @@ def handle(): BASECOLOR = gethexcolor(p.GetUnsigned("PageColor",4294967295)) BOXCOLOR = gethexcolor(p.GetUnsigned("BoxColor",3722305023)) TEXTCOLOR = gethexcolor(p.GetUnsigned("PageTextColor",255)) - BGTCOLOR = gethexcolor(p.GetUnsigned("BackgroundTextColor",4294703103)) + BGTCOLOR = gethexcolor(p.GetUnsigned("BackgroundTextColor",1600086015)) OVERFLOW = "" if p.GetBool("ShowScrollBars",True) else "body::-webkit-scrollbar {display: none;}" SHADOW = "#888888" if QtGui.QColor(BASECOLOR).valueF() < 0.5: # dark page - we need to make darker shadows