Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
xfce:xfce4-panel:tasklist [2019/11/30 23:04] – added icon resized section headers kevinbowenxfce:xfce4-panel:tasklist [2024/04/06 22:51] (current) – [Style Properties] gael
Line 1: Line 1:
-{{ :xfce:xfce4-panel:xfce4-panel.png?nolink|}} +~~NOTOC~~ 
-====== Window Buttons ======+{{ :xfce:xfce.panel.png?no link|}} 
 +====== xfce4-panel - Window Buttons ======
  
 The //Window Buttons// panel plugin allows allows you to switch between application windows using buttons. The //Window Buttons// panel plugin allows allows you to switch between application windows using buttons.
Line 9: Line 10:
 {{:xfce:xfce4-panel:tasklist.png?nolink&|}} {{:xfce:xfce4-panel:tasklist.png?nolink&|}}
 </figure> </figure>
 +
 +----
  
 ===== Style Properties ===== ===== Style Properties =====
  
-You can set a custom icon size in gtk-icon-sizes with the name ''panel-tasklist-menu''The default icon size is 16px.+<note classic>Do not expect max-button-length, min-button-length and max-button-size to really work as intended before 4.19.4: see https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/683.</note> 
 + 
 +<file txt ~/.config/gtk-3.0/gtk.css> 
 +# The maximum length of a button before the label ellipsizes. 
 +# When this value is set to -1 the button will expand to the 
 +# entire available space. 
 +.tasklist -XfceTasklist-max-button-length: 200; } 
 + 
 +The minimum length of a button, even if the label is smaller. 
 +.tasklist { -XfceTasklist-min-button-length: 50; }
  
-<file txt .gtkrc-2.0> +# The maximum size controls the number of lines on which 
-style "xfce-tasklist-style" +# buttons rearrange themselves: panel-size / max-button-size. 
-+# So the button size can actually be up to 2 * max-button-size
-  # The maximum length of button before the label ellipsizes+# When this value is set to -1 there is no maximum size
-  # When this value is set to -1 the button will expand to the +.tasklist { -XfceTasklist-max-button-size: 32; }
-  # entire available space+
-  XfceTasklist::max-button-length = 200+
  
-  # Ellipsizing used in the task list and overflow menu labels. +# Ellipsizing used in the task list and overflow menu labels. 
-  XfceTasklist::ellipsize-mode PANGO_ELLIPSIZE_END+.tasklist { -XfceTasklist-ellipsize-modePANGO_ELLIPSIZE_END; }
  
-  # Lucency of minimized icons. Valid values are between 0 (completely +# Lucency of minimized icons. Valid values are between 0 (completely 
-  # hide the icon) and 100 (don't lighten the icon). +# hide the icon) and 100 (don't lighten the icon). 
-  XfceTasklist::minimized-icon-lucency 50+.tasklist { -XfceTasklist-minimized-icon-lucency50; }
  
-  # Maximum number of characters in the menu label before it will +# Maximum number of characters in the menu label before it will 
-  # be ellipsized. +# be ellipsized. When this value is set to -1, the width will be 
-  XfceTasklist::menu-max-width-chars 24 +# calculated automatically. 
-} +.tasklist { -XfceTasklist-menu-max-width-chars24}
-class "XfceTasklist" style "xfce-tasklist-style"+
 </file> </file>
  
-See the section [[theming|Theming]] for more information.+See the [[theming|theming section]] for more information.
  
 [[|Back To Top]] [[|Back To Top]]
 ---- ----
 [[ :xfce:xfce4-panel:start:|Return to Main Xfce4-panel page]] [[ :xfce:xfce4-panel:start:|Return to Main Xfce4-panel page]]