diff --git a/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp b/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp index fbf9f0f33..4807fb175 100644 --- a/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp +++ b/retroshare-gui/src/gui/feeds/GxsChannelPostItem.cpp @@ -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); }