mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
menu: Convert hardcoded item padding to theme vars
Adds two new theme vars: - menu.items.padding.x - menu.items.padding.y
This commit is contained in:
parent
3da7cfd8c6
commit
f0666ba5c9
4 changed files with 23 additions and 5 deletions
|
|
@ -41,6 +41,14 @@ A theme consists of a themerc file and optionally some xbm icons.
|
|||
Vertical padding size, used for spacing out elements in the window decorations.
|
||||
Default is 3.
|
||||
|
||||
*menu.items.padding.x*
|
||||
Horizontal padding of menu text entries in pixels.
|
||||
Default is 7.
|
||||
|
||||
*menu.items.padding.y*
|
||||
Vertical padding of menu text entries in pixels.
|
||||
Default is 4.
|
||||
|
||||
*menu.overlap.x*
|
||||
Horizontal overlap in pixels between submenus and their parents. A
|
||||
positive value move submenus over the top of their parents, whereas a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue