From faaae4cb2a9416208bbcd76022c34bd6a4e38fbe Mon Sep 17 00:00:00 2001 From: thilo Date: Wed, 23 Mar 2011 10:57:31 +0000 Subject: [PATCH] *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 --- src/gui/bedit/bouqueteditor_bouquets.cpp | 2 +- src/gui/bedit/bouqueteditor_channels.cpp | 2 +- src/gui/bedit/bouqueteditor_chanselect.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/bedit/bouqueteditor_bouquets.cpp b/src/gui/bedit/bouqueteditor_bouquets.cpp index 065e55112..bbdd2e8f8 100644 --- a/src/gui/bedit/bouqueteditor_bouquets.cpp +++ b/src/gui/bedit/bouqueteditor_bouquets.cpp @@ -203,7 +203,7 @@ int CBEBouquetWidget::exec(CMenuTarget* parent, const std::string & /*actionKey* int fw = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getWidth(); 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); listmaxshow = (height-theight-0)/iheight; height = theight+0+listmaxshow*iheight; // recalc height diff --git a/src/gui/bedit/bouqueteditor_channels.cpp b/src/gui/bedit/bouqueteditor_channels.cpp index 5b63e04ad..1c6ad20c3 100644 --- a/src/gui/bedit/bouqueteditor_channels.cpp +++ b/src/gui/bedit/bouqueteditor_channels.cpp @@ -176,7 +176,7 @@ int CBEChannelWidget::exec(CMenuTarget* parent, const std::string & /*actionKey* int fw = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getWidth(); 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); listmaxshow = (height-theight-0)/iheight; height = theight+0+listmaxshow*iheight; // recalc height diff --git a/src/gui/bedit/bouqueteditor_chanselect.cpp b/src/gui/bedit/bouqueteditor_chanselect.cpp index 34ae447a3..46522065c 100644 --- a/src/gui/bedit/bouqueteditor_chanselect.cpp +++ b/src/gui/bedit/bouqueteditor_chanselect.cpp @@ -153,7 +153,7 @@ int CBEChannelSelectWidget::exec(CMenuTarget* parent, const std::string & action { int fw = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getWidth(); 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); listmaxshow = (height-theight-0)/iheight;