changed icons on othe feeds too

* changed the icons on other feeds too
* Show on Forum Message Feed the Avatars
This commit is contained in:
defnax 2019-10-09 18:06:30 +02:00
parent 98f35cf8af
commit 2df4a1a3e8
53 changed files with 1120 additions and 741 deletions

View file

@ -389,6 +389,8 @@ void GxsChannelPostItem::fill()
mInFill = true;
QString title;
float f = QFontMetricsF(font()).height()/14.0 ;
if(mPost.mThumbnail.mData != NULL)
{
@ -397,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);
ui->logoLabel->setMaximumSize(82,108*f);
}
else if( thumbnail.width() < 109 ){
ui->logoLabel->setMinimumSize(108,108);
ui->logoLabel->setMaximumSize(108,108);
ui->logoLabel->setMinimumSize(108,108*f);
ui->logoLabel->setMaximumSize(108,108*f);
}
else{
ui->logoLabel->setMinimumSize(156,108);
ui->logoLabel->setMaximumSize(156,108);
ui->logoLabel->setMinimumSize(156,108*f);
ui->logoLabel->setMaximumSize(156,108*f);
}
ui->logoLabel->setPixmap(thumbnail);
}