[mythtv] [PATCH] Fix delete program popup size in 0.9.1
Jim Paris
jim at jtan.com
Sun Jun 22 05:14:33 EDT 2003
The "Are you sure you want to delete this recording" popup in 0.9.1 is
vertically too small. This patch fixes it.
It won't apply to CVS due to popup changes; also, it looks like you
"fixed" the problem by adding an arbitrary constant, which should
probably be replaced by subtitle->height(). I'm not running CVS right
now so I can't test that.
-jim
--- mythtv-0.9.1/programs/mythfrontend/playbackbox.cpp 2003-05-22 23:27:55.000000000 -0400
+++ mythtv-0.9.1-jim/programs/mythfrontend/playbackbox.cpp 2003-06-22 04:00:13.000000000 -0400
@@ -1460,8 +1460,9 @@
int x, y, maxw, poph;
poph = msg->height() + msg2->height() + filler1->height() +
filler2->height() + title->height() + times->height() +
- desc->height() + yesButton->height() + noButton->height();
- popup->setMaximumHeight(poph);
+ subtitle->height() + desc->height() + yesButton->height() +
+ noButton->height();
+ popup->setMinimumHeight(poph);
maxw = 0;
if (title->width() > maxw)
More information about the mythtv-dev
mailing list