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/12/09 07:25] kevinbowenxfce:xfce4-panel:tasklist [2024/04/06 22:51] (current) – [Style Properties] gael
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-{{ :xfce:xfce4-panel:xfce4-panel.png?nolink|}} +{{ :xfce:xfce.panel.png?no link|}} 
-====== Window Buttons ======+====== 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 15: Line 15:
 ===== 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 .gtkrc-2.0> +<file txt ~/.config/gtk-3.0/gtk.css
-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 
-  # The maximum length of a button before the label ellipsizes. +# entire available space. 
-  # When this value is set to -1 the button will expand to the +.tasklist { -XfceTasklist-max-button-length200; }
-  # entire available space. +
-  XfceTasklist::max-button-length 200+
  
-  Ellipsizing used in the task list and overflow menu labels+The minimum length of a button, even if the label is smaller
-  XfceTasklist::ellipsize-mode = PANGO_ELLIPSIZE_END+.tasklist { -XfceTasklist-min-button-length: 50; }
  
-  Lucency of minimized iconsValid values are between 0 (completely +The maximum size controls the number of lines on which 
-  hide the icon) and 100 (don't lighten the icon)+# buttons rearrange themselves: panel-size / max-button-size
-  XfceTasklist::minimized-icon-lucency = 50+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. 
 +.tasklist { -XfceTasklist-max-button-size: 32; }
  
-  # Maximum number of characters in the menu label before it will +# Ellipsizing used in the task list and overflow menu labels. 
-  # be ellipsized. +.tasklist { -XfceTasklist-ellipsize-mode: PANGO_ELLIPSIZE_END;
-  XfceTasklist::menu-max-width-chars 24 + 
-} +# Lucency of minimized icons. Valid values are between 0 (completely 
-class "XfceTasklist" style "xfce-tasklist-style"+# 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. When this value is set to -1, the width will be 
 +# calculated automatically. 
 +.tasklist { -XfceTasklist-menu-max-width-chars24}
 </file> </file>
  
-See the section [[theming|Xfce 4.14 Panelbar 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]]