CEpgData: fix header size on used magnify feature

TODO: Make this feature recognizable for users
This commit is contained in:
2016-03-23 09:23:36 +01:00
parent 5dadb260c1
commit 384b6aca11

View File

@@ -682,9 +682,9 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
header = new CComponentsShapeSquare(sx, sy, ox, header_h); header = new CComponentsShapeSquare(sx, sy, ox, header_h);
header->setCorner(RADIUS_LARGE, CORNER_TOP); header->setCorner(RADIUS_LARGE, CORNER_TOP);
} }
header->setDimensionsAll(sx, sy, ox, header_h);
header->setColorBody(COL_MENUHEAD_PLUS_0); header->setColorBody(COL_MENUHEAD_PLUS_0);
header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0, g_settings.theme.menu_Head_gradient_direction); header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0, g_settings.theme.menu_Head_gradient_direction);
header->setHeight(header_h);
CComponentsPicture* headerPic = NULL; //NOTE: class CComponentsChannelLogo is preferred for channel logos CComponentsPicture* headerPic = NULL; //NOTE: class CComponentsChannelLogo is preferred for channel logos
if (pic_offx > 0) { if (pic_offx > 0) {