Increase size of playqueue entries by 25%

This commit is contained in:
craig.p.drummond
2014-06-12 18:57:49 +00:00
committed by craig.p.drummond
parent 9797173cd9
commit 0d9287c1be
2 changed files with 3 additions and 2 deletions

View File

@@ -148,6 +148,7 @@
93. Use external editor to edit lyrics.
94. Allow searching on performer tag.
95. Remove ID3v1 when saving ID3 tags.
96. 25% larger items in playqueue. Incrases covers from 32px to 40px
1.3.4
-----

View File

@@ -52,10 +52,10 @@ static double sizeAdjust=1.25;
void GroupedView::setup()
{
int height=QApplication::fontMetrics().height();
sizeAdjust=Utils::touchFriendly() ? 1.5 : 1.0;
sizeAdjust=Utils::touchFriendly() ? 1.5 : 1.25;
if (height>17) {
constCoverSize=(((int)((height*2)/4))*4)*sizeAdjust;
constCoverSize=(((int)((height*2)/4))*4);
constIconSize=Icon::stdSize(((int)(height/4))*4);
constBorder=constCoverSize>48 ? 2 : 1;
} else {