mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-18 10:02:41 -05:00
added small shift on text
This commit is contained in:
parent
e7ece78673
commit
81e08d0004
1 changed files with 2 additions and 2 deletions
|
|
@ -159,10 +159,10 @@ void ChannelPostDelegate::paint(QPainter * painter, const QStyleOptionViewItem &
|
||||||
font.setBold(true);
|
font.setBold(true);
|
||||||
painter->setFont(font);
|
painter->setFont(font);
|
||||||
}
|
}
|
||||||
painter->drawText(QPoint(p.x(),y),QString::fromUtf8(post.mMeta.mMsgName.c_str()));
|
painter->drawText(QPoint(p.x()+0.5*font_height,y),QString::fromUtf8(post.mMeta.mMsgName.c_str()));
|
||||||
y += font_height;
|
y += font_height;
|
||||||
|
|
||||||
painter->drawText(QPoint(p.x(),y),QDateTime::fromSecsSinceEpoch(post.mMeta.mPublishTs).toString());
|
painter->drawText(QPoint(p.x()+0.5*font_height,y),QDateTime::fromSecsSinceEpoch(post.mMeta.mPublishTs).toString());
|
||||||
y += font_height;
|
y += font_height;
|
||||||
|
|
||||||
painter->restore();
|
painter->restore();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue