From: vsv Date: Thu, 22 Aug 2019 12:35:15 +0000 (+0300) Subject: Issue #2981: Update color of text on color bar X-Git-Tag: VEDF2019Lot4~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3eccc9f0e919de364e065ee80ea537dfc48b537b;p=modules%2Fshaper.git Issue #2981: Update color of text on color bar --- diff --git a/src/XGUI/XGUI_ViewerProxy.cpp b/src/XGUI/XGUI_ViewerProxy.cpp index 175ed8779..7e33366f9 100644 --- a/src/XGUI/XGUI_ViewerProxy.cpp +++ b/src/XGUI/XGUI_ViewerProxy.cpp @@ -665,7 +665,7 @@ void XGUI_ViewerProxy::setupColorScale() double aH = aResMgr->doubleValue("Viewer", "scalar_bar_height", 0.5); setColorScaleSize(aW, aH); - QColor aColor = aResMgr->integerValue("Viewer", "scalar_bar_text_color", Qt::black); + QColor aColor = aResMgr->colorValue("Viewer", "scalar_bar_text_color", Qt::black); setColorScaleTextColor(aColor); int aT = aResMgr->integerValue("Viewer", "scalar_bar_text_height", 14);