mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
feat: implement <font place="InactiveWindow"> (ref scope: 2.4.7) (#1292)
* feat: implement <font place="InactiveWindow"> (ref scope: 2.4.7) * docs: add inactivewindow
This commit is contained in:
parent
d59b1d0966
commit
b34d074063
6 changed files with 25 additions and 3 deletions
|
|
@ -848,7 +848,7 @@ create_corners(struct theme *theme)
|
|||
static void
|
||||
post_processing(struct theme *theme)
|
||||
{
|
||||
int h = font_height(&rc.font_activewindow);
|
||||
int h = MAX(font_height(&rc.font_activewindow), font_height(&rc.font_inactivewindow));
|
||||
if (theme->title_height < h) {
|
||||
theme->title_height = h + 2 * theme->padding_height;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue