mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 09:22:13 -05:00
#3701 Larger margins around axis text
This commit is contained in:
1 parent
e100c679d3
commit
b20e801ae1
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user