mirror of
https://github.com/labwc/labwc.git
synced 2026-02-21 01:40:26 -05:00
theme: add window.button.height
window.button.{height,width} determine the space allocated for buttons.
Buttons can be smaller than this size and will then just be center aligned
within the allocated space. However, buttons will be clamped at this size
to prevent them from going outside of the allocated space.
This commit is contained in:
parent
be18050479
commit
0aa4cfe32d
5 changed files with 32 additions and 16 deletions
|
|
@ -67,10 +67,11 @@ struct theme {
|
|||
enum lab_justification window_label_text_justify;
|
||||
enum lab_justification menu_title_text_justify;
|
||||
|
||||
/* button width */
|
||||
/* buttons */
|
||||
int window_button_width;
|
||||
/* the space between buttons */
|
||||
int window_button_height;
|
||||
int window_button_spacing;
|
||||
|
||||
/* the shape of the hover effect */
|
||||
enum lab_shape window_button_hover_bg_shape;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue