mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
src/gui/epgview.cpp: center window
This commit is contained in:
committed by
[CST] Focus
parent
976d3669ed
commit
95cbeceb83
@@ -126,6 +126,7 @@ void CEpgData::start()
|
||||
buttonheight = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight() + 6;
|
||||
if (buttonheight < 30)
|
||||
buttonheight = 30; // the buttons and icons need space
|
||||
oy-=buttonheight/2;
|
||||
/* this is the text box height - and the height of the scroll bar */
|
||||
sb = oy - topboxheight - botboxheight - buttonheight;
|
||||
/* button box is handled separately (why?) */
|
||||
@@ -135,7 +136,7 @@ void CEpgData::start()
|
||||
toph = topboxheight;
|
||||
|
||||
sx = getScreenStartX(ox);
|
||||
sy = getScreenStartY(oy + buttonheight/2); /* button box is handled separately (why?) */
|
||||
sy = getScreenStartY(oy + buttonheight); /* button box is handled separately (why?) */
|
||||
}
|
||||
|
||||
void CEpgData::addTextToArray(const std::string & text, int screening) // UTF-8
|
||||
|
Reference in New Issue
Block a user