From 0d3a65aad03d9ac726238b21ba8224e9558a8a08 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 20 Jul 2016 00:40:01 +0200 Subject: Renamed UI::elementmargin to IU::spacing, added UI::margin. --- src/client/notifications.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client/notifications.cc') 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()); } -- cgit v1.2.3