mirror of
https://github.com/labwc/labwc.git
synced 2026-03-03 01:40:37 -05: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
be491e0e4c
commit
50fd65416f
8 changed files with 114 additions and 36 deletions
|
|
@ -198,6 +198,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 both *window.active.border.color* and *window.inactive.border.color*.
|
||||
This is obsolete, but supported for backward compatibility as some themes
|
||||
|
|
|
|||
|
|
@ -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