diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-01-07 03:47:57 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-01-07 03:48:30 +0100 |
commit | 06ab13797d2f8fed8507f7ba4c4b25bb05582364 (patch) | |
tree | 70df723327232283b22e2a7e44045898438e02c2 | |
parent | e70bb20934b5520b04037fd61c83fecc196bf336 (diff) | |
download | fiv-06ab13797d2f8fed8507f7ba4c4b25bb05582364.tar.gz fiv-06ab13797d2f8fed8507f7ba4c4b25bb05582364.tar.xz fiv-06ab13797d2f8fed8507f7ba4c4b25bb05582364.zip |
Add some padding to the location dialog
It looked awful with Ubuntu's theme.
-rw-r--r-- | fiv-sidebar.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |