mirror of
https://github.com/labwc/labwc.git
synced 2026-04-13 08:21:15 -04:00
overlay: add theme setting snapping.preview.[region|edge].fill
This settings allows user to choose whether to draw a filled rectangle or an outlined rectangle as the preview for window snapping.
This commit is contained in:
parent
bc25b34340
commit
b1ba2b841a
8 changed files with 114 additions and 36 deletions
|
|
@ -195,6 +195,16 @@ elements are not listed here, but are supported.
|
|||
Height of boxes in workspace switcher in pixels. Setting to 0 disables
|
||||
boxes. Default is 20.
|
||||
|
||||
*snapping.preview.region.fill* [yes|no]
|
||||
Show a filled rectangle as the preview when a window is snapped to a region.
|
||||
Otherwise, an outlined rectangle is shown instead.
|
||||
If software rendering is used, an outlined rectangle is always shown.
|
||||
|
||||
*snapping.preview.edge.fill* [yes|no]
|
||||
Show a filled rectangle as the preview when a window is snapped to an edge.
|
||||
Otherwise, an outlined rectangle is shown instead.
|
||||
If software rendering is used, an outlined rectangle is always shown.
|
||||
|
||||
*border.color*
|
||||
Set all border colors. This is obsolete, but supported for backward
|
||||
compatibility as some themes still contain it.
|
||||
|
|
|
|||
|
|
@ -71,3 +71,6 @@ osd.window-switcher.item.active.border.width: 2
|
|||
|
||||
osd.workspace-switcher.boxes.width: 20
|
||||
osd.workspace-switcher.boxes.height: 20
|
||||
|
||||
snapping.preview.region.fill: yes
|
||||
snapping.preview.edge.fill: yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue