ssd: use dynamic titlebar height based on font size and padding

This commit is contained in:
Consolatis 2022-03-09 05:40:54 +01:00 committed by Johan Malm
parent 3bb44fc9f2
commit e4f1f9a975
9 changed files with 23 additions and 18 deletions

View file

@ -422,7 +422,7 @@ create_corners(struct theme *theme)
.x = 0,
.y = 0,
.width = BUTTON_WIDTH,
.height = SSD_HEIGHT,
.height = theme->title_height,
};
struct rounded_corner_ctx ctx = {