Reverting back imguiLabel() spacing parameters.

This commit is contained in:
Dario Manesku 2014-08-12 20:51:13 +01:00
parent b5abdcb24b
commit 2701efa60a

View file

@ -1525,9 +1525,9 @@ struct Imgui
int32_t xx = m_widgetX; int32_t xx = m_widgetX;
int32_t yy = m_widgetY; int32_t yy = m_widgetY;
m_widgetY += BUTTON_HEIGHT + DEFAULT_SPACING; m_widgetY += BUTTON_HEIGHT;
drawText(xx drawText(xx
, yy + BUTTON_HEIGHT/2 + TEXT_HEIGHT/2 + DEFAULT_SPACING/2 , yy + BUTTON_HEIGHT/2 + TEXT_HEIGHT/2
, ImguiTextAlign::Left , ImguiTextAlign::Left
, out , out
, _enabled?imguiRGBA(255, 255, 255, 255):imguiRGBA(255, 255, 255, 128) , _enabled?imguiRGBA(255, 255, 255, 255):imguiRGBA(255, 255, 255, 128)