mirror of
https://github.com/labwc/labwc.git
synced 2026-04-13 08:21:15 -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
d679e929af
commit
819c9b1213
4 changed files with 23 additions and 5 deletions
|
|
@ -45,6 +45,9 @@ struct theme {
|
|||
float window_inactive_button_close_unpressed_image_color[4];
|
||||
/* TODO: add pressed and hover colors for buttons */
|
||||
|
||||
int menu_item_padding_x;
|
||||
int menu_item_padding_y;
|
||||
|
||||
float menu_items_bg_color[4];
|
||||
float menu_items_text_color[4];
|
||||
float menu_items_active_bg_color[4];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue