summaryrefslogtreecommitdiff
path: root/MenuApplets
diff options
context:
space:
mode:
Diffstat (limited to 'MenuApplets')
-rw-r--r--MenuApplets/Clock/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/MenuApplets/Clock/main.cpp b/MenuApplets/Clock/main.cpp
index 42c2fc1966..c8e51a0da6 100644
--- a/MenuApplets/Clock/main.cpp
+++ b/MenuApplets/Clock/main.cpp
@@ -46,7 +46,7 @@ private:
tm->tm_hour,
tm->tm_min,
tm->tm_sec);
-
+
GPainter painter(*this);
painter.fill_rect(event.rect(), palette().window());
painter.draw_text(event.rect(), time_text, Font::default_font(), TextAlignment::Center, palette().window_text());
@@ -69,7 +69,7 @@ int main(int argc, char** argv)
window->set_window_type(GWindowType::MenuApplet);
auto widget = ClockWidget::construct();
-
+
window->resize(widget->get_width(), 16);
window->set_main_widget(widget);
window->show();