take the bevel width into account for the width available
This commit is contained in:
parent
f90ee94d6b
commit
62240d2b0f
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ void font_draw(XftDraw *d, TextureText *t, Rect *area)
|
|||
/* center vertically */
|
||||
y = area->y +
|
||||
(area->height - font_height(t->font, t->shadow, t->offset)) / 2;
|
||||
w = area->width;
|
||||
w = area->width - theme-bevel * 2;
|
||||
h = area->height;
|
||||
|
||||
text = g_string_new(t->string);
|
||||
|
|
Loading…
Reference in a new issue