Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2016-07-28 21:21:22 +0200
committerStijn Buys <ingar@osirion.org>2016-07-28 21:21:22 +0200
commit19f2126df4f702e8d649357e5f0f5f5cf220b1a0 (patch)
tree2d204c94d693655aa6910abb88e5761bb279fd0b /src/client
parentabdccafa2db707acd833ef35372c1e24853f8902 (diff)
Corrected ui widget spacing.
Diffstat (limited to 'src/client')
-rw-r--r--src/client/playersettingsmenu.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/playersettingsmenu.cc b/src/client/playersettingsmenu.cc
index ca7fadf..b8992cb 100644
--- a/src/client/playersettingsmenu.cc
+++ b/src/client/playersettingsmenu.cc
@@ -216,14 +216,14 @@ void PlayerSettingsMenu::resize()
// resize primary color label
_primarycolorlabel->set_size(ui::UI::elementsize.width(), _primarycolorlabel->font()->height() + margin);
- _primarycolorlabel->set_location(padding, _playernamelabel->bottom());
+ _primarycolorlabel->set_location(padding, _playernamelabel->bottom() + margin);
// resize primary color picker
_primarycolorpicker->set_size(_playernameinput->width(), ui::UI::elementsize.height() * 4.0f);
_primarycolorpicker->set_location(_primarycolorlabel->right() + padding, _primarycolorlabel->top());
// resize secondary color label
_secondarycolorlabel->set_size(ui::UI::elementsize.width(), _primarycolorlabel->font()->height() + margin);
- _secondarycolorlabel->set_location(padding,_primarycolorpicker->bottom());
+ _secondarycolorlabel->set_location(padding,_primarycolorpicker->bottom() + margin);
// resize secondary color picker
_secondarycolorpicker->set_size(_playernameinput->width(), ui::UI::elementsize.height() * 4.0f);
_secondarycolorpicker->set_location(_secondarycolorlabel->right() + padding, _secondarycolorlabel->top());