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

Simon Steinbeiss noreply at xfce.org
Thu Dec 12 17:42:01 CET 2013


Updating branch refs/heads/ochosi/tabwin
         to edf7ad46c0686b483ebeb5bc206c83778580747e (commit)
       from 79cce29cf2451bc18bf676cd81d6126e2200633a (commit)

commit edf7ad46c0686b483ebeb5bc206c83778580747e
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