From e3306076de75587af637a69d140c27baef9fd34e Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 11 Nov 2016 00:51:32 +0100 Subject: [PATCH] - eventlist: allow windows size changes w/o neutrino restart --- src/gui/eventlist.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index 0902ff472..79366cec2 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -849,8 +849,9 @@ void CEventList::paintHead(t_channel_id _channel_id, std::string _channelname, s int font_lr = SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMLARGE; if (!header) - header = new CComponentsFrmChain(x, y, full_width, theight); + header = new CComponentsFrmChain(); + header->setDimensionsAll(x, y, full_width, theight); header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0, g_settings.theme.menu_Head_gradient_direction); header->setCorner(RADIUS_LARGE, CORNER_TOP); header->clear();