#3701 Larger margins around axis text

This commit is contained in:
Gaute Lindkvist 2018-11-15 14:57:25 +01:00
parent e100c679d3
commit b20e801ae1

View File

@ -103,7 +103,7 @@ void RivWindowEdgeAxesOverlayItem::updateGeomerySizes()
{
String str = String::number(-1.999e-17);
m_textSize = m_font->textExtent(str);
m_pixelSpacing = 2.0f;
m_pixelSpacing = 5.0f;
m_tickLineLength = m_textSize.y() *0.3f;
m_frameBorderHeight = m_pixelSpacing + m_textSize.y() + m_pixelSpacing + m_tickLineLength + m_lineWidth;
m_frameBorderWidth = m_pixelSpacing + m_textSize.x() + m_pixelSpacing + m_tickLineLength + m_lineWidth;