rbutilQt: added a litte border around the theme preview splash.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14411 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Wenger 2007-08-21 19:16:26 +00:00
parent 2b5e2e2c39
commit 2597167d43
2 changed files with 53 additions and 22 deletions

View file

@ -37,7 +37,8 @@ void PreviewDlg::setText(QString text)
void PreviewDlg::setPixmap(QPixmap p)
{
this->setFixedSize(p.size());
ui.themePreview->setFixedSize(p.size());
this->resize(QSize(10,10));
ui.themePreview->setPixmap(p);
}