[Xfce4-commits] <xfwm4:master> Make buttons in tabwin square and account for more x/ythickness in themes

Nick Schermer noreply at xfce.org
Sun Feb 23 21:10:32 CET 2014


Updating branch refs/heads/master
         to 3cd369280609cc0e1b3d4ea0be164897a323595d (commit)
       from 2a5b9aba48b3a6cca7d29a7fa8549d9b045facc3 (commit)

commit 3cd369280609cc0e1b3d4ea0be164897a323595d
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Thu Dec 12 17:40:41 2013 +0100

    Make buttons in tabwin square and account for more x/ythickness in themes
    
    Now themes with an x/ythickness of 3 should work fine, >3 might result in cut labels

 src/tabwin.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tabwin.c b/src/tabwin.c
index f13f015..c5d8846 100644
--- a/src/tabwin.c
+++ b/src/tabwin.c
@@ -489,7 +489,7 @@ createWindowlist (ScreenInfo *screen_info, TabwinWidget *tbw)
 
         if (screen_info->params->cycle_tabwin_mode == STANDARD_ICON_GRID)
         {
-            gtk_widget_set_size_request (GTK_WIDGET (window_button), icon_size+24, icon_size+app_label_height+8);
+            gtk_widget_set_size_request (GTK_WIDGET (window_button), icon_size+app_label_height+10, icon_size+app_label_height+10);
             buttonbox = gtk_vbox_new (FALSE, 0);
             buttonlabel = gtk_label_new ("");
             gtk_misc_set_alignment (GTK_MISC (buttonlabel), 0.5, 1.0);


More information about the Xfce4-commits mailing list