config: support setting menu item font

In rc.xml, support

<font place="MenuItem">
  <name></name>
  <size></size>
</font>
This commit is contained in:
Johan Malm 2021-08-20 20:27:52 +01:00
parent a668f6f73d
commit 3990018bb9
3 changed files with 21 additions and 4 deletions

View file

@ -46,6 +46,7 @@ Configuration must be wrapped in a <labwc_config> root-node.
The font to use for a specific element of a window, menu or OSD.
Places can be any of:
- ActiveWindow - titlebar of active window
- MenuItem - menu item (currently only root menu)
If no place attribute is provided, the setting will be applied to all
places.
@ -53,7 +54,7 @@ Configuration must be wrapped in a <labwc_config> root-node.
Describes font name. Default is sans.
*<theme><font place=""><size>*
Font size in pixels. Default is 8.
Font size in pixels. Default is 10.
# KEYBOARD