mirror of
https://github.com/labwc/labwc.git
synced 2026-02-07 04:07:42 -05:00
theme: add button padding and spacing (#2127)
While at it, separate corner width from button width. Both are independed and having them separately improves readability.
This commit is contained in:
parent
8850368ab9
commit
824b0fa4e3
13 changed files with 105 additions and 39 deletions
|
|
@ -27,7 +27,14 @@ struct theme_snapping_overlay {
|
|||
|
||||
struct theme {
|
||||
int border_width;
|
||||
|
||||
/*
|
||||
* the space between title bar border and
|
||||
* buttons on the left/right/top
|
||||
*/
|
||||
int padding_width;
|
||||
int padding_height;
|
||||
|
||||
int title_height;
|
||||
int menu_overlap_x;
|
||||
int menu_overlap_y;
|
||||
|
|
@ -48,6 +55,8 @@ struct theme {
|
|||
|
||||
/* button width */
|
||||
int window_button_width;
|
||||
/* the space between buttons */
|
||||
int window_button_spacing;
|
||||
|
||||
/* button colors */
|
||||
float window_active_button_menu_unpressed_image_color[4];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue