mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05: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
3da7cfd8c6
commit
f0666ba5c9
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