From 2701efa60acbaf302ca874eb8979ddc6a0852a8d Mon Sep 17 00:00:00 2001 From: Dario Manesku Date: Tue, 12 Aug 2014 20:51:13 +0100 Subject: [PATCH] Reverting back imguiLabel() spacing parameters. --- examples/common/imgui/imgui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/common/imgui/imgui.cpp b/examples/common/imgui/imgui.cpp index 6a02069f..91cd29d8 100644 --- a/examples/common/imgui/imgui.cpp +++ b/examples/common/imgui/imgui.cpp @@ -1525,9 +1525,9 @@ struct Imgui int32_t xx = m_widgetX; int32_t yy = m_widgetY; - m_widgetY += BUTTON_HEIGHT + DEFAULT_SPACING; + m_widgetY += BUTTON_HEIGHT; drawText(xx - , yy + BUTTON_HEIGHT/2 + TEXT_HEIGHT/2 + DEFAULT_SPACING/2 + , yy + BUTTON_HEIGHT/2 + TEXT_HEIGHT/2 , ImguiTextAlign::Left , out , _enabled?imguiRGBA(255, 255, 255, 255):imguiRGBA(255, 255, 255, 128)