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/notifications.cc')
-rw-r--r--src/client/notifications.cc8
1 files changed, 4 insertions, 4 deletions
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());
}