Use min size of 48px for icon
This commit is contained in:
committed by
Craig Drummond
parent
08eeb1c68d
commit
08df2f0cca
@@ -54,7 +54,7 @@ public:
|
||||
int size=mainText->sizeHint().height()+subText->sizeHint().height()+layout->spacing();
|
||||
size+=6;
|
||||
if (size<72) {
|
||||
size=Icon::stdSize(size);
|
||||
size=qMax(48, Icon::stdSize(size));
|
||||
}
|
||||
size=Utils::scaleForDpi(size);
|
||||
icon->setFixedSize(size, size);
|
||||
|
||||
Reference in New Issue
Block a user