Fixed a typo that resulted in a wrong padding of a widget.

This commit is contained in:
Dimitar Dobrev 2014-03-28 22:21:55 +02:00
parent 4acb146655
commit f9cee2ccfa

View file

@ -228,7 +228,7 @@ void ChatWindow::messageReceived(const QXmppMessage& message) {
messageLabel->setWordWrap(true);
messageLabel->setTextInteractionFlags(Qt::TextBrowserInteraction);
messageLabel->setOpenExternalLinks(true);
messageLabel->setStyleSheet("padding-bottom: 2px; padding-right: 2px; padding-top: 2px; padding-right: 20px");
messageLabel->setStyleSheet("padding-bottom: 2px; padding-left: 2px; padding-top: 2px; padding-right: 20px");
messageLabel->setAlignment(Qt::AlignTop | Qt::AlignLeft);
if (getParticipantName(message.from()) == AccountManager::getInstance().getUsername()) {