mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
separate style handling for chat area and its context menu.
This commit is contained in:
parent
6bb933996f
commit
78e311f885
1 changed files with 3 additions and 2 deletions
|
@ -306,7 +306,7 @@ void ChatWindow::messageReceived(const QXmppMessage& message) {
|
|||
messageArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
messageArea->setReadOnly(true);
|
||||
|
||||
messageArea->setStyleSheet("padding-bottom: 2px;"
|
||||
messageArea->setStyleSheet("QTextBrowser{ padding-bottom: 2px;"
|
||||
"padding-left: 2px;"
|
||||
"padding-top: 2px;"
|
||||
"padding-right: 20px;"
|
||||
|
@ -314,7 +314,8 @@ void ChatWindow::messageReceived(const QXmppMessage& message) {
|
|||
"color: #333333;"
|
||||
"font-size: 14pt;"
|
||||
"background-color: rgba(0, 0, 0, 0%);"
|
||||
"border: 0;");
|
||||
"border: 0; }"
|
||||
"QMenu{ border: 2px outset gray; }");
|
||||
|
||||
QString userLabel = getParticipantName(message.from());
|
||||
if (fromSelf) {
|
||||
|
|
Loading…
Reference in a new issue