mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-20 21:29:01 -04:00
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:
parent
98f35cf8af
commit
2df4a1a3e8
53 changed files with 1120 additions and 741 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue