mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04: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
|
|
@ -448,6 +448,7 @@ extending outward from the snapped edge.
|
|||
- ActiveWindow - titlebar of active window
|
||||
- InactiveWindow - titlebar of all windows that aren't focused by the
|
||||
cursor
|
||||
- MenuHeader - menu title
|
||||
- MenuItem - menu item (currently only root menu)
|
||||
- OnScreenDisplay - items in the on screen display
|
||||
If no place attribute is provided, the setting will be applied to all
|
||||
|
|
@ -460,7 +461,7 @@ extending outward from the snapped edge.
|
|||
Font size in pixels. Default is 10.
|
||||
|
||||
*<theme><font place=""><slant>*
|
||||
Font slant (normal or italic). Default is normal.
|
||||
Font slant (normal, oblique or italic). Default is normal.
|
||||
|
||||
*<theme><font place=""><weight>*
|
||||
Font weight (normal or bold). Default is normal.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue