From cd019ed4c1484db1aafb16ff075c9ccbfc301def Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 11 Nov 2016 00:51:32 +0100 Subject: [PATCH] eventlist: allow windows size changes w/o neutrino restart Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e3306076de75587af637a69d140c27baef9fd34e Author: vanhofen Date: 2016-11-11 (Fri, 11 Nov 2016) Origin message was: ------------------ - eventlist: allow windows size changes w/o neutrino restart ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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();