From 7f92733cac037bbb918380c533a29a6fbf18b905 Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Thu, 23 Jun 2016 22:22:30 -0400 Subject: [PATCH] Minor manual gain font size tweak --- src/visual/GainCanvas.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/visual/GainCanvas.cpp b/src/visual/GainCanvas.cpp index ac803f8..6ad56fa 100644 --- a/src/visual/GainCanvas.cpp +++ b/src/visual/GainCanvas.cpp @@ -58,10 +58,10 @@ void GainCanvas::OnPaint(wxPaintEvent& WXUNUSED(event)) { GainInfo *gInfo = (*gi); float midPos = -1.0+startPos+spacing*i; - gInfo->labelPanel.setSize(spacing/2.0,(15.0/float(ClientSize.y))); + gInfo->labelPanel.setSize(spacing/2.0,(14.0/float(ClientSize.y))); gInfo->labelPanel.setPosition(midPos, -barHeight-(20.0/float(ClientSize.y))); - gInfo->valuePanel.setSize(spacing/2.0,(15.0/float(ClientSize.y))); + gInfo->valuePanel.setSize(spacing/2.0,(14.0/float(ClientSize.y))); gInfo->valuePanel.setPosition(midPos, barHeight+(20.0/float(ClientSize.y))); i+=1.0; @@ -288,7 +288,7 @@ void GainCanvas::updateGainUI() { gInfo->panel.addChild(&gInfo->highlightPanel); - gInfo->labelPanel.setSize(spacing/2.0,(15.0/float(ClientSize.y))); + gInfo->labelPanel.setSize(spacing/2.0,(14.0/float(ClientSize.y))); gInfo->labelPanel.setPosition(midPos, -barHeight-(20.0/float(ClientSize.y))); gInfo->labelPanel.setText(gi->first,GLFont::GLFONT_ALIGN_CENTER, GLFont::GLFONT_ALIGN_CENTER, true); @@ -296,7 +296,7 @@ void GainCanvas::updateGainUI() { bgPanel.addChild(&(gInfo->labelPanel)); - gInfo->valuePanel.setSize(spacing/2.0,(15.0/float(ClientSize.y))); + gInfo->valuePanel.setSize(spacing/2.0,(14.0/float(ClientSize.y))); gInfo->valuePanel.setPosition(midPos, barHeight+(20.0/float(ClientSize.y))); gInfo->valuePanel.setText(std::to_string(int(gInfo->current)), GLFont::GLFONT_ALIGN_CENTER, GLFont::GLFONT_ALIGN_CENTER, true);