From f6447ad3f90bfa32486bd40f0f4fd28a6b9c9d97 Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Sat, 3 Mar 2018 03:00:48 +0300 Subject: [PATCH] #0 [Gui] Fixed typo --- profiler_gui/easy_graphics_scrollbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler_gui/easy_graphics_scrollbar.cpp b/profiler_gui/easy_graphics_scrollbar.cpp index 8f392fb..b7d927b 100644 --- a/profiler_gui/easy_graphics_scrollbar.cpp +++ b/profiler_gui/easy_graphics_scrollbar.cpp @@ -285,7 +285,7 @@ void GraphicsHistogramItem::paintById(QPainter* _painter) _painter->setPen(m_topValue < m_maxValue ? QColor(Qt::darkRed) : profiler_gui::TEXT_COLOR); _painter->drawText(rect, Qt::AlignRight | Qt::AlignVCenter | Qt::TextDontClip, m_topDurationStr); - rect.setRect(0, bottom + 20, width - 3, font_h); + rect.setRect(0, bottom + 2, width - 3, font_h); _painter->setPen(m_bottomValue > m_minValue ? QColor(Qt::darkRed) : profiler_gui::TEXT_COLOR); _painter->drawText(rect, Qt::AlignRight | Qt::AlignVCenter | Qt::TextDontClip, m_bottomDurationStr); }