taglist: set correctly area height
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
0261969930
commit
4fb114172f
|
@ -126,6 +126,7 @@ taglist_draw(draw_context_t *ctx, int screen, widget_node_t *w,
|
||||||
draw_parser_data_init(&pdata[i]);
|
draw_parser_data_init(&pdata[i]);
|
||||||
area = draw_text_extents(ctx->phys_screen,
|
area = draw_text_extents(ctx->phys_screen,
|
||||||
globalconf.font, text[i], len[i], &pdata[i]);
|
globalconf.font, text[i], len[i], &pdata[i]);
|
||||||
|
area.height = ctx->height;
|
||||||
|
|
||||||
if(pdata[i].bg_image)
|
if(pdata[i].bg_image)
|
||||||
area.width = MAX(area.width,
|
area.width = MAX(area.width,
|
||||||
|
|
Loading…
Reference in New Issue