mirror of
https://github.com/labwc/labwc.git
synced 2026-03-01 01:40:24 -05:00
menu: add title theme options (#2097)
Add theme options `menu.title.text.color` and `menu.title.text.justify`.
Add font place MenuHeader: `<font place="MenuHeader">`
Add `Oblique` font style
```
<theme>
<font>
<slant>Oblique</slant>
</font>
</theme>
```
This commit is contained in:
parent
6564e1bc8d
commit
8fda9968e6
12 changed files with 79 additions and 7 deletions
|
|
@ -67,6 +67,10 @@ labwc-config(5).
|
|||
Vertical padding of menu text entries in pixels.
|
||||
Default is 4.
|
||||
|
||||
*menu.title.text.justify*
|
||||
Specifies how menu titles are aligned in the titlebar.
|
||||
Type justification. Default Center.
|
||||
|
||||
*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
|
||||
|
|
@ -178,6 +182,9 @@ elements are not listed here, but are supported.
|
|||
Menu title color. Default #589bda.
|
||||
Note: A menu title is a separator with a label.
|
||||
|
||||
*menu.title.text.color*
|
||||
Text color of separator label. Default #ffffff.
|
||||
|
||||
*osd.bg.color*
|
||||
Background color of on-screen-display. Inherits
|
||||
*window.active.title.bg.color* if not set.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue