(#266) Fixed issue for labels disappearing for white background

DrawableText::labelAnchorVisible hides all labels if the background is
set to white
This commit is contained in:
Magne Sjaastad 2015-11-17 16:58:37 +01:00
parent 08c04f5052
commit 3c1b549064

View File

@ -542,6 +542,7 @@ void RivGridBoxGenerator::createLegend(EdgeType edge, cvf::Collection<cvf::Part>
cvf::ref<cvf::DrawableText> geo = new cvf::DrawableText;
geo->setFont(new cvf::FixedAtlasFont(cvf::FixedAtlasFont::STANDARD));
geo->setTextColor(m_gridLegendColor);
geo->setCheckPosVisible(false);
geo->setDrawBackground(false);
geo->setDrawBorder(false);