Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/buttonmenu.cc2
-rw-r--r--src/client/notifications.cc8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/client/buttonmenu.cc b/src/client/buttonmenu.cc
index 18139d0..b5e8959 100644
--- a/src/client/buttonmenu.cc
+++ b/src/client/buttonmenu.cc
@@ -57,7 +57,7 @@ void ButtonMenu::resize()
w->set_size(ui::UI::elementsize);
w->set_location(x, y);
- y += ui::UI::elementsize.height() + ui::UI::elementmargin;
+ y += ui::UI::elementsize.height() + ui::UI::spacing;
}
// resize container widget
diff --git a/src/client/notifications.cc b/src/client/notifications.cc
index 90c5e3e..793303e 100644
--- a/src/client/notifications.cc
+++ b/src/client/notifications.cc
@@ -56,12 +56,12 @@ void Notifications::draw()
t = notify_timestamp.begin();
}
- const float margin = ui::UI::elementmargin;
+ const float spacing = ui::UI::spacing;
math::Vector2f s(size());
- s[0] -= margin * 2;
- s[1] -= margin * 2;
+ s[0] -= spacing * 2;
+ s[1] -= spacing * 2;
- notify_scrollpane->set_location(margin, margin);
+ notify_scrollpane->set_location(spacing, spacing);
notify_scrollpane->set_size(s.x(), s.y());
}