diff options
author | Douglas Boffey <DougABoffey@netscape.net> | 2008-08-04 17:38:36 +0000 |
---|---|---|
committer | Douglas Boffey <DougABoffey@netscape.net> | 2008-08-04 17:38:36 +0000 |
commit | d7dd3eb44cc9a339851715fcd13435e1cce3e4d7 (patch) | |
tree | f1921da05e8288c8a2a23b503b2a72660add3648 /src/gui/setup_video.cpp | |
parent | fcf54cb8827e84b608ef49dd98697ccfbf25319f (diff) | |
download | mana-d7dd3eb44cc9a339851715fcd13435e1cce3e4d7.tar.gz mana-d7dd3eb44cc9a339851715fcd13435e1cce3e4d7.tar.bz2 mana-d7dd3eb44cc9a339851715fcd13435e1cce3e4d7.tar.xz mana-d7dd3eb44cc9a339851715fcd13435e1cce3e4d7.zip |
Aligned text boxes in video setup dialog
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r-- | src/gui/setup_video.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index bc38f1f9..1b619b9a 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -192,7 +192,7 @@ Setup_Video::Setup_Video(): mScrollRadiusSlider->setDimension(gcn::Rectangle(10, 120, 75, 10)); gcn::Label *scrollRadiusLabel = new gcn::Label("Scroll radius"); scrollRadiusLabel->setPosition(90, 120); - mScrollRadiusField->setPosition(180, 120); + mScrollRadiusField->setPosition(mFpsField->getX(), 120); mScrollRadiusField->setWidth(30); mScrollRadiusField->setText(toString(mOriginalScrollRadius)); mScrollRadiusSlider->setValue(mOriginalScrollRadius); @@ -200,7 +200,7 @@ Setup_Video::Setup_Video(): mScrollLazinessSlider->setDimension(gcn::Rectangle(10, 140, 75, 10)); gcn::Label *scrollLazinessLabel = new gcn::Label("Scroll laziness"); scrollLazinessLabel->setPosition(90, 140); - mScrollLazinessField->setPosition(180, 140); + mScrollLazinessField->setPosition(mFpsField->getX(), 140); mScrollLazinessField->setWidth(30); mScrollLazinessField->setText(toString(mOriginalScrollLaziness)); mScrollLazinessSlider->setValue(mOriginalScrollLaziness); |