diff --git a/widgets/iconbox.c b/widgets/iconbox.c index c504c0c2..491c4fa5 100644 --- a/widgets/iconbox.c +++ b/widgets/iconbox.c @@ -44,6 +44,9 @@ iconbox_draw(widget_node_t *w, statusbar_t *statusbar, int offset, else w->area.width = area.width; + if(w->area.width > statusbar->width - used) + return (w->area.width = 0); + w->area.height = statusbar->height; w->area.x = widget_calculate_offset(statusbar->width,