Increased the right margin of sent messages for better visibility.

This commit is contained in:
Dimitar Dobrev 2014-03-12 17:12:57 +02:00
parent 19c60cef2d
commit acb4047b54
3 changed files with 12 additions and 9 deletions

View file

@ -4,22 +4,22 @@
<context>
<name>Application</name>
<message>
<location filename="src/Application.cpp" line="1375"/>
<location filename="src/Application.cpp" line="1373"/>
<source>Export Voxels</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/Application.cpp" line="1376"/>
<location filename="src/Application.cpp" line="1374"/>
<source>Sparse Voxel Octree Files (*.svo)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/Application.cpp" line="3562"/>
<location filename="src/Application.cpp" line="3558"/>
<source>Open Script</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/Application.cpp" line="3563"/>
<location filename="src/Application.cpp" line="3559"/>
<source>JavaScript Files (*.js)</source>
<translation type="unfinished"></translation>
</message>
@ -28,19 +28,19 @@
<name>ChatWindow</name>
<message>
<location filename="ui/chatWindow.ui" line="14"/>
<location filename="../build/interface/ui_chatWindow.h" line="111"/>
<location filename="../build/interface/ui_chatWindow.h" line="112"/>
<source>Chat</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="ui/chatWindow.ui" line="41"/>
<location filename="../build/interface/ui_chatWindow.h" line="112"/>
<location filename="../build/interface/ui_chatWindow.h" line="113"/>
<source>Connecting to XMPP...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="ui/chatWindow.ui" line="60"/>
<location filename="../build/interface/ui_chatWindow.h" line="113"/>
<location filename="../build/interface/ui_chatWindow.h" line="114"/>
<source> online now:</source>
<translation type="unfinished"></translation>
</message>

View file

@ -191,7 +191,7 @@ void ChatWindow::messageReceived(const QXmppMessage& message) {
messageLabel->setWordWrap(true);
messageLabel->setTextInteractionFlags(Qt::TextBrowserInteraction);
messageLabel->setOpenExternalLinks(true);
messageLabel->setStyleSheet("padding: 2px;");
messageLabel->setStyleSheet("padding: 2px; margin-right: 20px");
messageLabel->setAlignment(Qt::AlignTop);
ui->messagesFormLayout->addRow(userLabel, messageLabel);

View file

@ -81,7 +81,7 @@
<x>0</x>
<y>0</y>
<width>358</width>
<height>328</height>
<height>448</height>
</rect>
</property>
<property name="styleSheet">
@ -124,6 +124,9 @@
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContents</enum>
</property>
</widget>
</item>
</layout>