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
Last revisionBoth sides next revision
xfce:xfce4-panel:tasklist [2019/11/13 02:19] kevinbowenxfce:xfce4-panel:tasklist [2024/04/06 18:48] – [Style Properties] gael
Line 1: Line 1:
-====== Window Buttons ======+~~NOTOC~~ 
 +{{ :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.
  
-====== Properties ======+===== Properties =====
  
 <figure "Window button's properties dialog"> <figure "Window button's properties dialog">
Line 9: Line 11:
 </figure> </figure>
  
-====== 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.+===== Style Properties =====
  
-<file txt .gtkrc-2.0> +<note classic>Do not expect max-button-length, min-button-length and max-button-size to really work as intended before 4.19.4see https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/683.</note>
-style "xfce-tasklist-style" +
-+
-  # 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. +
-  XfceTasklist::max-button-length = 200+
  
-  Ellipsizing used in the task list and overflow menu labels+<file txt ~/.config/gtk-3.0/gtk.css> 
-  XfceTasklist::ellipsize-mode = PANGO_ELLIPSIZE_END+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; }
  
-  Lucency of minimized iconsValid values are between 0 (completely +The minimum length of a button, even if the label is smaller
-  # hide the icon) and 100 (don't lighten the icon). +.tasklist { -XfceTasklist-min-button-length: 50; }
-  XfceTasklist::minimized-icon-lucency = 50+
  
-  # Maximum number of characters in the menu label before it will +# The maximum size controls the number of lines on which 
-  # be ellipsized. +# buttons rearrange themselves: panel-size / max-button-size. 
-  XfceTasklist::menu-max-width-chars 24 +# So the button size can actually be up to 2 * max-button-size. 
-} +# When this value is set to -1 there is no maximum size. 
-class "XfceTasklist" style "xfce-tasklist-style"+.tasklist { -XfceTasklist-max-button-size: 32; } 
 + 
 +# Ellipsizing used in the task list and overflow menu labels. 
 +.tasklist { -XfceTasklist-ellipsize-mode: PANGO_ELLIPSIZE_END;
 + 
 +# Lucency of minimized icons. Valid values are between 0 (completely 
 +# hide the icon) and 100 (don't lighten the icon). 
 +.tasklist { -XfceTasklist-minimized-icon-lucency: 50; } 
 + 
 +# Maximum number of characters in the menu label before it will 
 +# be ellipsized. 
 +.tasklist { -XfceTasklist-menu-max-width-chars24}
 </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]]