- bouqueteditor_chanselect.cpp: fix height

This commit is contained in:
svenhoefer
2013-03-29 20:40:52 +01:00
parent f4ae5e17ce
commit 393aa14cff

View File

@@ -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)