undoing last change, widgets sample had slider label offset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
af6b7b80cf
commit
1dc1b891f1
@ -404,6 +404,7 @@ void wxSlider::DoSetSize(int x, int y, int w, int h, int sizeFlags)
|
||||
}
|
||||
else
|
||||
{
|
||||
w = w - xborder ;
|
||||
if ( m_macMinimumStatic )
|
||||
m_macMinimumStatic->Move(GetPosition().x + 0, GetPosition().y + sliderBreadth + wxSLIDER_BORDERTEXT);
|
||||
if ( m_macMaximumStatic )
|
||||
@ -411,7 +412,6 @@ void wxSlider::DoSetSize(int x, int y, int w, int h, int sizeFlags)
|
||||
GetPosition().y + sliderBreadth + wxSLIDER_BORDERTEXT);
|
||||
if ( m_macValueStatic )
|
||||
m_macValueStatic->Move(GetPosition().x + w, GetPosition().y + 0);
|
||||
w = w - xborder ;
|
||||
}
|
||||
}
|
||||
//If the control has labels, we still need to call this again because
|
||||
|
Loading…
Reference in New Issue
Block a user