From 3c2af21bf059e8d90b4dd5687061f882ab883a78 Mon Sep 17 00:00:00 2001 From: David Athay Date: Tue, 5 Aug 2008 12:06:40 +0000 Subject: Fixed alignment (patch by Scraggy - Mantis #384) and spelling error. (cherry picked from eAthena client) --- src/gui/setup_video.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index 51cee8e3..1b65cad6 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -189,7 +189,7 @@ Setup_Video::Setup_Video(): mScrollRadiusSlider->setDimension(gcn::Rectangle(10, 140, 75, 10)); gcn::Label *scrollRadiusLabel = new gcn::Label(_("Scroll radius")); scrollRadiusLabel->setPosition(90, 140); - mScrollRadiusField->setPosition(180, 140); + mScrollRadiusField->setPosition(mFpsField->getX(), 140); mScrollRadiusField->setWidth(30); mScrollRadiusField->setText(toString(mOriginalScrollRadius)); mScrollRadiusSlider->setValue(mOriginalScrollRadius); @@ -197,7 +197,7 @@ Setup_Video::Setup_Video(): mScrollLazinessSlider->setDimension(gcn::Rectangle(10, 160, 75, 10)); gcn::Label *scrollLazinessLabel = new gcn::Label(_("Scroll laziness")); scrollLazinessLabel->setPosition(90, 160); - mScrollLazinessField->setPosition(180, 160); + mScrollLazinessField->setPosition(mFpsField->getX(), 160); mScrollLazinessField->setWidth(30); mScrollLazinessField->setText(toString(mOriginalScrollLaziness)); mScrollLazinessSlider->setValue(mOriginalScrollLaziness); -- cgit v1.2.3-70-g09d2