mirror of
https://github.com/labwc/labwc.git
synced 2026-02-12 04:27:57 -05:00
osd: add osd.window-switcher.item.icon.size
This allows users to make the icon in window switcher bigger (or smaller) than the font size, which enables more Openbox-like appearance. Example configuration: osd.window-switcher.item.icon.size: 50 This commit also makes the icon smaller than the font size if the width allocated with <windowSwitcher><fields><field width=""> is smaller than that.
This commit is contained in:
parent
d8bd8c5a3e
commit
6a04c5f0dd
5 changed files with 28 additions and 4 deletions
|
|
@ -256,6 +256,11 @@ all are supported.
|
|||
Border width of the selection box in the window switcher in pixels.
|
||||
Default is 2.
|
||||
|
||||
*osd.window-switcher.item.icon.size*
|
||||
Size of the icon in window switcher, in pixels.
|
||||
If not set, the font size derived from <theme><font place="OnScreenDisplay">
|
||||
is used.
|
||||
|
||||
*osd.window-switcher.preview.border.width*
|
||||
Border width of the outlines shown as the preview of the window selected
|
||||
by window switcher. Inherits *osd.border.width* if not set.
|
||||
|
|
|
|||
|
|
@ -89,6 +89,8 @@ osd.window-switcher.padding: 4
|
|||
osd.window-switcher.item.padding.x: 10
|
||||
osd.window-switcher.item.padding.y: 1
|
||||
osd.window-switcher.item.active.border.width: 2
|
||||
# The icon size the same as the font size by default
|
||||
# osd.window-switcher.item.icon.size: 50
|
||||
osd.window-switcher.preview.border.width: 1
|
||||
osd.window-switcher.preview.border.color: #dddda6,#000000,#dddda6
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue