Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
888697a
)
Issue #2981: Update color of text on color bar
author
vsv
<vsv@opencascade.com>
Thu, 22 Aug 2019 12:35:15 +0000
(15:35 +0300)
committer
vsv
<vsv@opencascade.com>
Thu, 22 Aug 2019 12:35:15 +0000
(15:35 +0300)
src/XGUI/XGUI_ViewerProxy.cpp
patch
|
blob
|
history
diff --git
a/src/XGUI/XGUI_ViewerProxy.cpp
b/src/XGUI/XGUI_ViewerProxy.cpp
index 175ed87790b880f08b2aa83415bac3c2c7e2c19d..7e33366f9e5e654eda2c2063b9368c6f3eba6b58 100644
(file)
--- 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->
intege
rValue("Viewer", "scalar_bar_text_color", Qt::black);
+ QColor aColor = aResMgr->
colo
rValue("Viewer", "scalar_bar_text_color", Qt::black);
setColorScaleTextColor(aColor);
int aT = aResMgr->integerValue("Viewer", "scalar_bar_text_height", 14);