From 6dfa00e85c48f60a08f6b2b14c1d2b786884c0c4 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 26 Jun 2004 09:31:55 +0000 Subject: [PATCH] correctly positioning vertical slider labels git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/slider.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/slider.cpp b/src/mac/carbon/slider.cpp index e90a510398..dc0508f4ea 100644 --- a/src/mac/carbon/slider.cpp +++ b/src/mac/carbon/slider.cpp @@ -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 {