diff --git a/retroshare-gui/src/gui/feeds/ForumMsgItem.cpp b/retroshare-gui/src/gui/feeds/ForumMsgItem.cpp index 57365a9f8..6e5cea328 100644 --- a/retroshare-gui/src/gui/feeds/ForumMsgItem.cpp +++ b/retroshare-gui/src/gui/feeds/ForumMsgItem.cpp @@ -117,10 +117,10 @@ void ForumMsgItem::updateItemStatic() prevSubLabel->setText(QString::fromStdWString(msg.title)); prevMsgLabel->setText(QString::fromStdWString(msg.msg)); - QDateTime qtime; - qtime.setTime_t(msg.ts); - QString timestamp = qtime.toString("dd.MMMM yyyy hh:mm:ss"); - timestamplabel->setText(timestamp); + QDateTime qtime; + qtime.setTime_t(msg.ts); + QString timestamp = qtime.toString("dd.MMMM yyyy hh:mm:ss"); + timestamplabel->setText(timestamp); nextFrame->hide(); } @@ -130,9 +130,9 @@ void ForumMsgItem::updateItemStatic() nextMsgLabel->setText(QString::fromStdWString(msg.msg)); QDateTime qtime; - qtime.setTime_t(msg.ts); - QString timestamp = qtime.toString("dd.MMMM yyyy hh:mm:ss"); - timestamplabel->setText(timestamp); + qtime.setTime_t(msg.ts); + QString timestamp = qtime.toString("dd.MMMM yyyy hh:mm:ss"); + timestamplabel->setText(timestamp); prevSHLabel->setText("In Reply To: "); diff --git a/retroshare-gui/src/gui/feeds/ForumMsgItem.ui b/retroshare-gui/src/gui/feeds/ForumMsgItem.ui index a0fd551bb..9c7b52ece 100644 --- a/retroshare-gui/src/gui/feeds/ForumMsgItem.ui +++ b/retroshare-gui/src/gui/feeds/ForumMsgItem.ui @@ -7,7 +7,7 @@ 0 0 716 - 340 + 270 @@ -37,26 +37,41 @@ border-radius: 10px} QFrame::Raised - - - 6 - - - 6 - - - - + + + + + + + 48 + 48 + + + + + 48 + 48 + + + + QLabel#label{border: 2px solid black; +background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 #F7B552, stop: 1 #FB8428); +border-radius: 10px} + :/images/konversation.png + + Qt::AlignCenter + - + @@ -75,22 +90,29 @@ border-radius: 10px} Forum Name + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + - + + + + + Qt::Horizontal - 40 + 358 20 - + @@ -102,9 +124,12 @@ border-radius: 10px} Timestamp + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + - + @@ -124,7 +149,7 @@ border-radius: 10px} - + @@ -144,9 +169,22 @@ border-radius: 10px} + + + + Qt::Horizontal + + + + 518 + 20 + + + + - + @@ -265,7 +303,7 @@ border-radius: 10px} - + QFrame::StyledPanel @@ -339,6 +377,9 @@ border-radius: 10px} Previous Message... + + true + @@ -362,7 +403,7 @@ border-radius: 10px} - + QFrame::StyledPanel @@ -452,6 +493,9 @@ border-radius: 10px} Currnent Message.. + + true + @@ -466,6 +510,9 @@ border-radius: 10px} + + +