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 [2022/12/20 23:37] – [Style Properties] Add missing style properties gaelxfce:xfce4-panel:tasklist [2024/04/06 18:48] – [Style Properties] gael
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 ~/.config/gtk-3.0/gtk.css> <file txt ~/.config/gtk-3.0/gtk.css>
Line 21: 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 30: 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.
-{ -XfceTasklist-menu-max-width-chars: 24; }+.tasklist { -XfceTasklist-menu-max-width-chars: 24; }
 </file> </file>