From 0fc911e50b03fe1961b983d22af63ae6956b790c Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Wed, 14 Sep 2016 08:27:04 +0200 Subject: [PATCH] #837 Set category legend width to 150 px --- ApplicationCode/UserInterface/RiuViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/UserInterface/RiuViewer.cpp b/ApplicationCode/UserInterface/RiuViewer.cpp index 3ccdae4027..b84f87ecbe 100644 --- a/ApplicationCode/UserInterface/RiuViewer.cpp +++ b/ApplicationCode/UserInterface/RiuViewer.cpp @@ -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;