mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
osd: support percent values for window switcher width
Add ability to set width with percentage of monitor instead of just pixels. With this the OSD sizes itself properly on both my 4k and 2k monitors. example: 50% or 75% instead of 600, max 100%
This commit is contained in:
parent
6e7f1b430f
commit
eb5e855b69
5 changed files with 23 additions and 3 deletions
|
|
@ -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