mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
*neutrino bouqueteditor: window width enlarged
this is only cosmetical, bouqeteditor needs a fundamental rework git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1328 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -203,7 +203,7 @@ int CBEBouquetWidget::exec(CMenuTarget* parent, const std::string & /*actionKey*
|
|||||||
|
|
||||||
int fw = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getWidth();
|
int fw = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getWidth();
|
||||||
int fh = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight();
|
int fh = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight();
|
||||||
width = w_max (52 * fw, 20);
|
width = w_max (64 * fw, 20);
|
||||||
height = h_max (20 * fh, 50);
|
height = h_max (20 * fh, 50);
|
||||||
listmaxshow = (height-theight-0)/iheight;
|
listmaxshow = (height-theight-0)/iheight;
|
||||||
height = theight+0+listmaxshow*iheight; // recalc height
|
height = theight+0+listmaxshow*iheight; // recalc height
|
||||||
|
@@ -176,7 +176,7 @@ int CBEChannelWidget::exec(CMenuTarget* parent, const std::string & /*actionKey*
|
|||||||
|
|
||||||
int fw = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getWidth();
|
int fw = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getWidth();
|
||||||
int fh = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight();
|
int fh = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight();
|
||||||
width = w_max (52 * fw, 20);
|
width = w_max (64 * fw, 20);
|
||||||
height = h_max (20 * fh, 50);
|
height = h_max (20 * fh, 50);
|
||||||
listmaxshow = (height-theight-0)/iheight;
|
listmaxshow = (height-theight-0)/iheight;
|
||||||
height = theight+0+listmaxshow*iheight; // recalc height
|
height = theight+0+listmaxshow*iheight; // recalc height
|
||||||
|
@@ -153,7 +153,7 @@ int CBEChannelSelectWidget::exec(CMenuTarget* parent, const std::string & action
|
|||||||
{
|
{
|
||||||
int fw = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getWidth();
|
int fw = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getWidth();
|
||||||
int fh = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight();
|
int fh = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight();
|
||||||
width = w_max (52 * fw, 20);
|
width = w_max (64 * fw, 20);
|
||||||
height = h_max (20 * fh, 50);
|
height = h_max (20 * fh, 50);
|
||||||
|
|
||||||
listmaxshow = (height-theight-0)/iheight;
|
listmaxshow = (height-theight-0)/iheight;
|
||||||
|
Reference in New Issue
Block a user