Permalink
Browse files

Potentially fix some font scaling issues with the mythmusic smart

playlist popup. This has been a big problem with Ubuntu.
  • Loading branch information...
1 parent 3958daf commit ac5b99d3007fc8bd6b95951315f55c8d3d2de438 @stuartm stuartm committed Dec 3, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 mythplugins/mythmusic/mythmusic/smartplaylist.cpp
@@ -20,6 +20,7 @@ using namespace std;
#include <dialogbox.h>
#include <mythdialogs.h>
#include <mythdb.h>
+#include <mythuihelper.h>
struct SmartPLField
{
@@ -897,6 +898,8 @@ SmartPlaylistEditor::SmartPlaylistEditor(MythMainWindow *parent, const char *nam
Q3VBoxLayout *vbox = new Q3VBoxLayout(this, (int)(15 * wmult));
Q3HBoxLayout *hbox = new Q3HBoxLayout(vbox, (int)(0 * wmult));
+ setFont(GetMythUI()->GetMediumFont());
+
// Window title
QString message = tr("Smart Playlist Editor");
QLabel *label = new QLabel(message, this);
@@ -1673,6 +1676,8 @@ SmartPLResultViewer::SmartPLResultViewer(MythMainWindow *parent, const char *nam
Q3VBoxLayout *vbox = new Q3VBoxLayout(this, (int)(20 * wmult));
Q3HBoxLayout *hbox = new Q3HBoxLayout(vbox, (int)(10 * wmult));
+ setFont(GetMythUI()->GetMediumFont());
+
// Window title
QString message = tr("Smart Playlist Result Viewer");
QLabel *label = new QLabel(message, this);

0 comments on commit ac5b99d

Please sign in to comment.