mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
- bouqueteditor_chanselect.cpp: fix height
This commit is contained in:
@@ -162,10 +162,10 @@ void CBEChannelSelectWidget::onOkKeyPressed()
|
|||||||
int CBEChannelSelectWidget::exec(CMenuTarget* parent, const std::string & actionKey)
|
int CBEChannelSelectWidget::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||||
{
|
{
|
||||||
width = frameBuffer->getScreenWidthRel();
|
width = frameBuffer->getScreenWidthRel();
|
||||||
height = frameBuffer->getScreenHeightRel();
|
info_height = 2*iheight + 4;
|
||||||
|
height = frameBuffer->getScreenHeightRel() - info_height;
|
||||||
listmaxshow = (height-theight-footerHeight-0)/iheight;
|
listmaxshow = (height-theight-footerHeight-0)/iheight;
|
||||||
height = theight+footerHeight+listmaxshow*iheight; // recalc height
|
height = theight+footerHeight+listmaxshow*iheight; // recalc height
|
||||||
info_height = 2*iheight + 4;
|
|
||||||
|
|
||||||
x = getScreenStartX(width);
|
x = getScreenStartX(width);
|
||||||
if (x < ConnectLineBox_Width)
|
if (x < ConnectLineBox_Width)
|
||||||
|
Reference in New Issue
Block a user