[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 16/37: Improve window layout

noreply at xfce.org noreply at xfce.org
Mon Mar 23 23:30:11 CET 2020


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-clipman-plugin.

commit 97a38d830a9f0df3a7131851cac84a1c73c7c155
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Fri Mar 20 17:26:53 2020 +0100

    Improve window layout
---
 panel-plugin/xfce4-clipman-history.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/xfce4-clipman-history.c b/panel-plugin/xfce4-clipman-history.c
index 9f23470..344df47 100644
--- a/panel-plugin/xfce4-clipman-history.c
+++ b/panel-plugin/xfce4-clipman-history.c
@@ -150,11 +150,14 @@ clipman_history_treeview_init (MyPlugin *plugin)
   GtkWidget *entry, *scroll, *treeview, *label, *box;
   gboolean reverse_order = FALSE;
 
-  box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
+  box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
+  gtk_widget_set_margin_start (box, 6);
+  gtk_widget_set_margin_end (box, 6);
+  gtk_widget_set_margin_top (box, 6);
 
   /* create the search entry */
   entry = gtk_entry_new ();
-  gtk_box_pack_start (GTK_BOX (box), entry, FALSE, FALSE, 6);
+  gtk_box_pack_start (GTK_BOX (box), entry, FALSE, FALSE, 0);
   gtk_widget_set_tooltip_text (entry, _("Enter search phrase here"));
   gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry), GTK_ENTRY_ICON_PRIMARY, "edit-find");
   gtk_widget_show (entry);
@@ -163,7 +166,7 @@ clipman_history_treeview_init (MyPlugin *plugin)
   scroll = gtk_scrolled_window_new (NULL, NULL);
   gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
   gtk_widget_set_vexpand (scroll, TRUE);
-  gtk_box_pack_start (GTK_BOX (box), scroll, TRUE, TRUE, 6);
+  gtk_box_pack_start (GTK_BOX (box), scroll, TRUE, TRUE, 0);
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scroll), GTK_SHADOW_IN);
   gtk_widget_show (scroll);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list