EmojiCompletion: Use Box:spacing instead of CSS

master uses CSS border-spacing, but that is not available in GTK+ 3.

Close https://gitlab.gnome.org/GNOME/gtk/issues/1166
This commit is contained in:
Daniel Boles 2018-06-20 20:33:45 +01:00
parent 7dbd3da2dd
commit 934b40f4f3
2 changed files with 1 additions and 3 deletions

View File

@ -537,7 +537,7 @@ add_emoji (GtkWidget *list,
child = gtk_list_box_row_new ();
gtk_widget_show (child);
gtk_widget_set_focus_on_click (child, FALSE);
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
gtk_widget_show (box);
gtk_container_add (GTK_CONTAINER (child), box);
gtk_box_pack_start (GTK_BOX (box), label, FALSE, FALSE, 0);

View File

@ -4573,8 +4573,6 @@ popover.emoji-completion arrow {
}
popover.emoji-completion contents row box {
// FIXME: needs redone in a GTK+ 3 compatible way
//border-spacing: 10px;
padding: 2px 10px;
}