mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
theme: tidy up documentation
This commit is contained in:
parent
7cc79edd62
commit
1934d0bf09
2 changed files with 7 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ window.label.text.justify: center
|
||||||
|
|
||||||
# window button width and spacing
|
# window button width and spacing
|
||||||
window.button.width: 26
|
window.button.width: 26
|
||||||
|
window.button.height: 26
|
||||||
window.button.spacing: 0
|
window.button.spacing: 0
|
||||||
|
|
||||||
# window button hover effect
|
# window button hover effect
|
||||||
|
|
|
||||||
|
|
@ -701,6 +701,12 @@ entry(struct theme *theme, const char *key, const char *value)
|
||||||
theme->window_titlebar_padding_height = get_int_if_positive(
|
theme->window_titlebar_padding_height = get_int_if_positive(
|
||||||
value, "window.titlebar.padding.height");
|
value, "window.titlebar.padding.height");
|
||||||
}
|
}
|
||||||
|
if (match_glob(key, "titlebar.height")) {
|
||||||
|
wlr_log(WLR_ERROR, "titlebar.height is no longer supported");
|
||||||
|
}
|
||||||
|
if (match_glob(key, "padding.height")) {
|
||||||
|
wlr_log(WLR_ERROR, "padding.height is no longer supported");
|
||||||
|
}
|
||||||
if (match_glob(key, "menu.items.padding.x")) {
|
if (match_glob(key, "menu.items.padding.x")) {
|
||||||
theme->menu_item_padding_x = get_int_if_positive(
|
theme->menu_item_padding_x = get_int_if_positive(
|
||||||
value, "menu.items.padding.x");
|
value, "menu.items.padding.x");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue