diff --git a/retroshare-gui/src/gui/msgs/MessageWidget.cpp b/retroshare-gui/src/gui/msgs/MessageWidget.cpp
index 249a05118..a655436eb 100644
--- a/retroshare-gui/src/gui/msgs/MessageWidget.cpp
+++ b/retroshare-gui/src/gui/msgs/MessageWidget.cpp
@@ -135,7 +135,7 @@ MessageWidget::MessageWidget(bool controlled, QWidget *parent, Qt::WindowFlags f
connect(ui.expandFilesButton, SIGNAL(clicked()), this, SLOT(togglefileview()));
connect(ui.downloadButton, SIGNAL(clicked()), this, SLOT(getallrecommended()));
connect(ui.msgText, SIGNAL(anchorClicked(QUrl)), this, SLOT(anchorClicked(QUrl)));
- connect(ui.sendinviteButton, SIGNAL(clicked()), this, SLOT(sendInvite()));
+ connect(ui.sendInviteButton, SIGNAL(clicked()), this, SLOT(sendInvite()));
connect(NotifyQt::getInstance(), SIGNAL(messagesTagsChanged()), this, SLOT(messagesTagsChanged()));
connect(NotifyQt::getInstance(), SIGNAL(messagesChanged()), this, SLOT(messagesChanged()));
@@ -160,10 +160,13 @@ MessageWidget::MessageWidget(bool controlled, QWidget *parent, Qt::WindowFlags f
QFont font = QFont("Arial", 10, QFont::Bold);
ui.subjectText->setFont(font);
- ui.bcclabel->setVisible(false);
- ui.bccText->setVisible(false);
- ui.cclabel->setVisible(false);
+ ui.toText->setMaximumHeight(ui.toText->fontMetrics().lineSpacing()*1.5);
+ ui.ccLabel->setVisible(false);
ui.ccText->setVisible(false);
+ ui.ccText->setMaximumHeight(ui.ccText->fontMetrics().lineSpacing()*1.5);
+ ui.bccLabel->setVisible(false);
+ ui.bccText->setVisible(false);
+ ui.bccText->setMaximumHeight(ui.bccText->fontMetrics().lineSpacing()*1.5);
ui.tagsLabel->setVisible(false);
@@ -454,11 +457,11 @@ void MessageWidget::fill(const std::string &msgId)
ui.fromText->setText("");
ui.filesText->setText("");
- ui.cclabel->setVisible(false);
+ ui.ccLabel->setVisible(false);
ui.ccText->setVisible(false);
ui.ccText->clear();
- ui.bcclabel->setVisible(false);
+ ui.bccLabel->setVisible(false);
ui.bccText->setVisible(false);
ui.bccText->clear();
@@ -519,7 +522,7 @@ void MessageWidget::fill(const std::string &msgId)
if (!msgInfo.rspeerid_msgcc.empty() || !msgInfo.rsgxsid_msgcc.empty())
{
- ui.cclabel->setVisible(true);
+ ui.ccLabel->setVisible(true);
ui.ccText->setVisible(true);
text.clear();
@@ -528,14 +531,14 @@ void MessageWidget::fill(const std::string &msgId)
ui.ccText->setText(text);
} else {
- ui.cclabel->setVisible(false);
+ ui.ccLabel->setVisible(false);
ui.ccText->setVisible(false);
ui.ccText->clear();
}
if (!msgInfo.rspeerid_msgbcc.empty() || !msgInfo.rsgxsid_msgbcc.empty())
{
- ui.bcclabel->setVisible(true);
+ ui.bccLabel->setVisible(true);
ui.bccText->setVisible(true);
text.clear();
@@ -544,7 +547,7 @@ void MessageWidget::fill(const std::string &msgId)
ui.bccText->setText(text);
} else {
- ui.bcclabel->setVisible(false);
+ ui.bccLabel->setVisible(false);
ui.bccText->setVisible(false);
ui.bccText->clear();
}
diff --git a/retroshare-gui/src/gui/msgs/MessageWidget.ui b/retroshare-gui/src/gui/msgs/MessageWidget.ui
index 76dd0020c..1f59bdcd0 100644
--- a/retroshare-gui/src/gui/msgs/MessageWidget.ui
+++ b/retroshare-gui/src/gui/msgs/MessageWidget.ui
@@ -10,7 +10,7 @@
539
-
+
0
@@ -23,246 +23,251 @@
0
- -
-
+
-
+
Qt::Vertical
-
+
Qt::Vertical
-
+
2
-
-
+
6
-
- 0
-
6
-
- 0
+
+ 6
-
-
-
-
- 6
+
+ 3
+
+
-
+
+
+
+ 0
+ 0
+
-
- 3
+
+ Subject:
-
-
-
-
-
- 0
- 0
-
-
-
- Subject:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- From:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
-
- -
-
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
-
+
- 2
- 0
-
-
-
-
- 0
- 0
-
-
-
-
- 16777215
- 16777215
-
-
-
- true
-
-
- true
-
-
-
- -
-
-
-
0
0
-
- To:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
-
- -
-
true
-
- true
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse
- -
-
+
-
+
-
+
0
0
+
+ Qt::LeftToRight
+
- Cc:
+ Date
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
- false
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse
- -
-
-
-
- 0
- 0
-
-
-
- Bcc:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
-
- -
-
-
- true
-
-
- true
-
-
-
- -
-
-
- true
-
-
- true
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Tags:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
-
- -
-
-
- -
-
-
-
-
-
-
- 0
- 0
-
-
-
- true
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Qt::LeftToRight
-
-
- Date
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse
-
-
-
-
-
+ -
+
+
+
+ 0
+ 0
+
+
+
+ From:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 2
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 16777215
+ 16777215
+
+
+
+ true
+
+
+ true
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ To:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 16777215
+ 16
+
+
+
+ true
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Cc:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ false
+
+
+
+ -
+
+
+
+ 16777215
+ 16
+
+
+
+ true
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Bcc:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 16777215
+ 16
+
+
+
+ true
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Tags:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
-
@@ -403,14 +408,14 @@
-
-
+
Send Invite
-
-
+
Qt::Horizontal
@@ -426,9 +431,9 @@
-
-
+
-
-
+
0
@@ -445,7 +450,7 @@
6
-
-
+
@@ -455,7 +460,7 @@
-
-
+
Recommended Files
@@ -498,7 +503,7 @@
-
-
+
Qt::Horizontal