mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
Window switcher, allow to use percent of monitor width.
OSD will size per monitor. With this the width stays relative sized on my 4k as well as my 1080p monitor example from my theme osd.window-switcher.width: 60%
This commit is contained in:
parent
4fc6bce3ea
commit
bda18df757
5 changed files with 17 additions and 2 deletions
|
|
@ -164,6 +164,8 @@ elements are not listed here, but are supported.
|
|||
|
||||
*osd.window-switcher.width*
|
||||
Width of window switcher in pixels. Default is 600.
|
||||
Width can also be percent of the width of the monitor.
|
||||
% is mandatory as last character, max 100%
|
||||
|
||||
*osd.window-switcher.padding*
|
||||
Padding of window switcher in pixels. This is the space between the
|
||||
|
|
|
|||
|
|
@ -60,7 +60,10 @@ osd.border.color: #000000
|
|||
osd.border.width: 1
|
||||
osd.label.text.color: #000000
|
||||
|
||||
# width can be set as percent (of screen width)
|
||||
# example 50% or 75% instead of 600, max 100%
|
||||
osd.window-switcher.width: 600
|
||||
|
||||
osd.window-switcher.padding: 4
|
||||
osd.window-switcher.item.padding.x: 10
|
||||
osd.window-switcher.item.padding.y: 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue