From 06ab13797d2f8fed8507f7ba4c4b25bb05582364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Fri, 7 Jan 2022 03:47:57 +0100 Subject: Add some padding to the location dialog It looked awful with Ubuntu's theme. --- fiv-sidebar.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fiv-sidebar.c') diff --git a/fiv-sidebar.c b/fiv-sidebar.c index e956d08..52ecd7e 100644 --- a/fiv-sidebar.c +++ b/fiv-sidebar.c @@ -333,6 +333,8 @@ on_show_enter_location( g_free(label); GtkWidget *content = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); + g_object_set(content, "margin", 5, NULL); + gtk_box_set_spacing(GTK_BOX(content), 5); gtk_container_add(GTK_CONTAINER(content), entry); gtk_container_add(GTK_CONTAINER(content), protocols); gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT); -- cgit v1.2.3