correctly positioning vertical slider labels

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2004-06-26 09:31:55 +00:00
parent fdd74b41b0
commit 6dfa00e85c

View File

@ -396,11 +396,11 @@ void wxSlider::DoSetSize(int x, int y, int w, int h, int sizeFlags)
if ( m_macMinimumStatic )
m_macMinimumStatic->Move(GetPosition().x + sliderBreadth + wxSLIDER_BORDERTEXT,
GetPosition().y + h - yborder - textheight);
GetPosition().y + h - yborder);
if ( m_macMaximumStatic )
m_macMaximumStatic->Move(GetPosition().x + sliderBreadth + wxSLIDER_BORDERTEXT, GetPosition().y + 0);
if ( m_macValueStatic )
m_macValueStatic->Move(GetPosition().x, GetPosition().y + h - textheight);
m_macValueStatic->Move(GetPosition().x, GetPosition().y + h );
}
else
{