summaryrefslogtreecommitdiff
path: root/src/gui/setup_colors.cpp
diff options
context:
space:
mode:
authorTametomo <irarice@gmail.com>2009-05-14 08:05:01 -0600
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-14 20:54:02 +0100
commit9ddc6cc057798a3d6898516c76960d4a5611ba1c (patch)
treeec13a44a72141eeb96780bfa660fa9148b85d274 /src/gui/setup_colors.cpp
parent0d9e6234bb893ec45dc2c357cdc5529be0976689 (diff)
downloadmana-9ddc6cc057798a3d6898516c76960d4a5611ba1c.tar.gz
mana-9ddc6cc057798a3d6898516c76960d4a5611ba1c.tar.bz2
mana-9ddc6cc057798a3d6898516c76960d4a5611ba1c.tar.xz
mana-9ddc6cc057798a3d6898516c76960d4a5611ba1c.zip
Match alignment better in the colors tab. Now the textfields terminate
at the same spot the scroll area does. Signed-off-by: Tametomo <irarice@gmail.com>
Diffstat (limited to 'src/gui/setup_colors.cpp')
-rw-r--r--src/gui/setup_colors.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gui/setup_colors.cpp b/src/gui/setup_colors.cpp
index d9ba44e3..abee7313 100644
--- a/src/gui/setup_colors.cpp
+++ b/src/gui/setup_colors.cpp
@@ -71,7 +71,7 @@ Setup_Colors::Setup_Colors() :
mGradTypeLabel = new Label(_("Type:"));
mGradTypeSlider = new Slider(0, 3);
- mGradTypeSlider->setWidth(200);
+ mGradTypeSlider->setWidth(180);
mGradTypeSlider->setActionEventId("slider_grad");
mGradTypeSlider->setValue(0);
mGradTypeSlider->addActionListener(this);
@@ -158,21 +158,21 @@ Setup_Colors::Setup_Colors() :
place(0, 0, mScroll, 5, 6).setPadding(2);
place(0, 6, mPreviewBox, 5).setPadding(2);
- place(0, 7, mGradTypeLabel, 2);
- place(2, 7, mGradTypeSlider);
- place(3, 7, mGradTypeText, 2).setPadding(1);
- place(0, 8, mRedLabel, 2);
- place(2, 8, mRedSlider);
- place(3, 8, mRedText).setPadding(1);
- place(0, 9, mGreenLabel, 2);
- place(2, 9, mGreenSlider);
- place(3, 9, mGreenText).setPadding(1);
- place(0, 10, mBlueLabel, 2);
- place(2, 10, mBlueSlider);
- place(3, 10, mBlueText).setPadding(1);
- place(0, 11, mGradDelayLabel, 2);
- place(2, 11, mGradDelaySlider);
- place(3, 11, mGradDelayText).setPadding(1);
+ place(0, 7, mGradTypeLabel, 3);
+ place(3, 7, mGradTypeSlider);
+ place(4, 7, mGradTypeText, 2).setPadding(1);
+ place(0, 8, mRedLabel, 3);
+ place(3, 8, mRedSlider);
+ place(4, 8, mRedText).setPadding(1);
+ place(0, 9, mGreenLabel, 3);
+ place(3, 9, mGreenSlider);
+ place(4, 9, mGreenText).setPadding(1);
+ place(0, 10, mBlueLabel, 3);
+ place(3, 10, mBlueSlider);
+ place(4, 10, mBlueText).setPadding(1);
+ place(0, 11, mGradDelayLabel, 3);
+ place(3, 11, mGradDelaySlider);
+ place(4, 11, mGradDelayText).setPadding(1);
mGradTypeText->setCaption("");