mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
cc_frm_header.cpp/h: remove CTextBox types for title allignment
Title object has only width of current text content. This causes CTextBox types have not a really visible effect. Now we have only three align types for title and these are related to cc-text object position. Involved classes adjusted too.
This commit is contained in:
@@ -888,7 +888,7 @@ void CEventList::paintHead(t_channel_id _channel_id, std::string _channelname, s
|
||||
if (header->isPainted())
|
||||
header->getChannelLogoObject()->hide();
|
||||
header->setChannelLogo(_channel_id,_channelname);
|
||||
header->setCaption(_channelname,CTextBox::CENTER);
|
||||
header->setCaption(_channelname, CCHeaderTypes::CC_TITLE_CENTER);
|
||||
|
||||
header->paint(CC_SAVE_SCREEN_NO);
|
||||
|
||||
|
Reference in New Issue
Block a user