From 200c6d30e9d77be52de914b12d85adbef5358ef4 Mon Sep 17 00:00:00 2001 From: dubslow Date: Mon, 6 Oct 2014 03:21:47 -0500 Subject: [PATCH] reduce font size and space between chat lines --- ui/chatArea/innerStyle.css | 14 +++++++------- widget/chatareawidget.cpp | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ui/chatArea/innerStyle.css b/ui/chatArea/innerStyle.css index 823c8dfbe..444d4381b 100644 --- a/ui/chatArea/innerStyle.css +++ b/ui/chatArea/innerStyle.css @@ -1,36 +1,36 @@ div.name { color: @black; - font: @bigBold; + font: @mediumBold; } div.message { color: @black; - font: @big; + font: @medium; } div.action { color: #1818FF; - font: @big; + font: @medium; } div.date { color: @black; - font: @big; + font: @medium; } div.name_me { color: @mediumGrey; - font: @big; + font: @medium; } div.message_me { color: @black; - font: @big; + font: @medium; } div.date_me { color: @black; - font: @big; + font: @medium; } span.quote { diff --git a/widget/chatareawidget.cpp b/widget/chatareawidget.cpp index c743574fa..d3d326b63 100644 --- a/widget/chatareawidget.cpp +++ b/widget/chatareawidget.cpp @@ -38,7 +38,7 @@ ChatAreaWidget::ChatAreaWidget(QWidget *parent) setFrameStyle(QFrame::NoFrame); QTextTableFormat tableFormat; - tableFormat.setCellSpacing(15); + tableFormat.setCellSpacing(5); tableFormat.setBorderStyle(QTextFrameFormat::BorderStyle_None); tableFormat.setColumnWidthConstraints({QTextLength(QTextLength::FixedLength,nameWidth), QTextLength(QTextLength::PercentageLength,100),