mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed the font metrics
This commit is contained in:
parent
2df4a1a3e8
commit
b62dbb6461
@ -399,15 +399,15 @@ void GxsChannelPostItem::fill()
|
||||
GxsIdDetails::loadPixmapFromData(mPost.mThumbnail.mData, mPost.mThumbnail.mSize, thumbnail,GxsIdDetails::ORIGINAL);
|
||||
// Wiping data - as its been passed to thumbnail.
|
||||
if( thumbnail.width() < 90 ){
|
||||
ui->logoLabel->setMaximumSize(82,108*f);
|
||||
ui->logoLabel->setMaximumSize(82*f,108*f);
|
||||
}
|
||||
else if( thumbnail.width() < 109 ){
|
||||
ui->logoLabel->setMinimumSize(108,108*f);
|
||||
ui->logoLabel->setMaximumSize(108,108*f);
|
||||
ui->logoLabel->setMinimumSize(108*f,108*f);
|
||||
ui->logoLabel->setMaximumSize(108*f,108*f);
|
||||
}
|
||||
else{
|
||||
ui->logoLabel->setMinimumSize(156,108*f);
|
||||
ui->logoLabel->setMaximumSize(156,108*f);
|
||||
ui->logoLabel->setMinimumSize(156*f,108*f);
|
||||
ui->logoLabel->setMaximumSize(156*f,108*f);
|
||||
}
|
||||
ui->logoLabel->setPixmap(thumbnail);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user