mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
osd: make item-border part of item-height
This commit is contained in:
parent
660127acb0
commit
2c66fa279f
2 changed files with 13 additions and 12 deletions
|
|
@ -540,7 +540,8 @@ post_processing(struct theme *theme)
|
|||
theme->title_height = font_height(&rc.font_activewindow)
|
||||
+ 2 * theme->padding_height;
|
||||
theme->osd_window_switcher_item_height = font_height(&rc.font_osd)
|
||||
+ 2 * theme->osd_window_switcher_item_padding_y;
|
||||
+ 2 * theme->osd_window_switcher_item_padding_y
|
||||
+ 2 * theme->osd_window_switcher_item_active_border_width;
|
||||
|
||||
if (rc.corner_radius >= theme->title_height) {
|
||||
theme->title_height = rc.corner_radius + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue