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 [2022/12/28 18:55] – [Style Properties] Outdated: GTK 2 gaelxfce:xfce4-panel:tasklist [2024/04/06 22:51] (current) – [Style Properties] gael
Line 14: Line 14:
  
 ===== Style Properties ===== ===== Style Properties =====
 +
 +<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> <file txt ~/.config/gtk-3.0/gtk.css>
Line 19: Line 21:
 # When this value is set to -1 the button will expand to the # When this value is set to -1 the button will expand to the
 # entire available space. # entire available space.
-{ -XfceTasklist-max-button-length: 200; }+.tasklist { -XfceTasklist-max-button-length: 200; }
  
-# The minimum length of a button before the label ellipsizes+# The minimum length of a button, even if the label is smaller
-{ -XfceTasklist-min-button-length: 50; }+.tasklist { -XfceTasklist-min-button-length: 50; }
  
 # The maximum size controls the number of lines on which # The maximum size controls the number of lines on which
Line 28: Line 30:
 # So the button size can actually be up to 2 * max-button-size. # 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. # When this value is set to -1 there is no maximum size.
-{ -XfceTasklist-max-button-size: 32; }+.tasklist { -XfceTasklist-max-button-size: 32; }
  
 # 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-mode: PANGO_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-lucency: 50; }
  
 # 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-chars: 24; }
 </file> </file>