Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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());