From dae35101ec3059863ce58b82709a494cb9f2f194 Mon Sep 17 00:00:00 2001 From: Theo Linkspfeifer Date: Sat, 3 Aug 2019 01:42:05 +0200 Subject: [PATCH 1/1] Make the statusbar smaller --- mousepad/mousepad-window.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mousepad/mousepad-window.c b/mousepad/mousepad-window.c index 65a2c5d..119dd26 100644 --- a/mousepad/mousepad-window.c +++ b/mousepad/mousepad-window.c @@ -928,6 +928,11 @@ mousepad_window_create_statusbar (MousepadWindow *window) gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), active); gtk_widget_set_visible (window->statusbar, active); + /* make the statusbar smaller */ + gtk_widget_set_margin_top (window->statusbar, 0); + gtk_widget_set_margin_bottom (window->statusbar, 0); + gtk_widget_set_margin_start (window->statusbar, 4); + /* pack the statusbar into the window UI */ gtk_box_pack_end (GTK_BOX (window->box), window->statusbar, FALSE, FALSE, 0); -- 2.20.1