#837 Set category legend width to 150 px

This commit is contained in:
Magne Sjaastad 2016-09-14 08:27:04 +02:00
parent 8e79a781c9
commit 0fc911e50b

View File

@ -517,7 +517,7 @@ void RiuViewer::addColorLegendToBottomLeftCorner(cvf::OverlayItem* legend)
if (categoryLegends.size() > 0)
{
const int border = 3;
const int categoryWidth = 120;
const int categoryWidth = 150;
// This value is taken from OverlayAxisCross, as the axis cross is always shown in the lower left corner
const int axisCrossHeight = 120;