Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
xfce:xfce4-panel:tasklist [2022/12/20 23:37] – [Style Properties] Add missing style properties gael | xfce:xfce4-panel:tasklist [2025/02/06 17:03] (current) – Add separator gael | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | {{ :xfce:xfce.panel.png?no link|}} | + | {{ :xfce:xfce4-panel.png?nolink|}} |
====== xfce4-panel - Window Buttons ====== | ====== xfce4-panel - Window Buttons ====== | ||
Line 7: | Line 7: | ||
===== Properties ===== | ===== Properties ===== | ||
- | <figure " | + | <figure " |
- | {{: | + | {{: |
</ | </ | ||
Line 15: | Line 15: | ||
===== Style Properties ===== | ===== Style Properties ===== | ||
- | You can set a custom icon size in gtk-icon-sizes with the name '' | + | <note classic> |
<file txt ~/ | <file txt ~/ | ||
- | # The maximum length of a button before the label ellipsizes. | + | /* 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: | + | .tasklist |
+ | | ||
+ | } | ||
- | # The minimum length of a button | + | /* The minimum length of a button, even if the label is smaller. */ |
- | * { -XfceTasklist-min-button-length: | + | .tasklist |
+ | | ||
+ | } | ||
- | # The maximum size controls the number of lines on which | + | /* The maximum size controls the number of lines on which |
- | # buttons rearrange themselves: panel-size / 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. | + | |
- | * { -XfceTasklist-max-button-size: | + | .tasklist |
+ | | ||
+ | } | ||
- | # Ellipsizing used in the task list and overflow menu labels. | + | /* Ellipsizing used in the task list and overflow menu labels. */ |
- | * { -XfceTasklist-ellipsize-mode: | + | .tasklist |
+ | | ||
+ | } | ||
- | # 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: | + | .tasklist |
+ | | ||
+ | } | ||
+ | |||
+ | /* Maximum number of characters in the menu label before it will | ||
+ | be ellipsized. When this value is set to -1, the width will be | ||
+ | | ||
+ | .tasklist { | ||
+ | -XfceTasklist-menu-max-width-chars: | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Theming Examples ===== | ||
+ | |||
+ | <file txt ~/ | ||
+ | /* window button font color */ | ||
+ | /* NORMAL */ | ||
+ | .tasklist button { | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | /* PRELIGHT */ | ||
+ | .tasklist button: | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | /* ACTIVE - only while being clicked */ | ||
+ | .tasklist button: | ||
+ | color: #000000; | ||
+ | } | ||
+ | /* SELECTED */ | ||
+ | .tasklist button: | ||
+ | color: #000000; | ||
+ | } | ||
+ | |||
+ | /* icon text not truncated */ | ||
+ | XfdesktopIconView.view { | ||
+ | | ||
+ | } | ||
- | # Maximum number of characters in the menu label before it will | ||
- | # be ellipsized. | ||
- | * { -XfceTasklist-menu-max-width-chars: | ||
</ | </ | ||
Line 48: | Line 91: | ||
[[|Back To Top]] | [[|Back To Top]] | ||
---- | ---- | ||
- | [[ : | + | [[: |