From 758be07a5a81fdbdf5ffece6c82f0b6b8d8e96b2 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sat, 29 Sep 2018 14:05:59 +0300 Subject: Make the height of the bottom bar smaller --- src/TextInputWidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/TextInputWidget.cpp') diff --git a/src/TextInputWidget.cpp b/src/TextInputWidget.cpp index 4a03762d..aadf6f48 100644 --- a/src/TextInputWidget.cpp +++ b/src/TextInputWidget.cpp @@ -43,8 +43,8 @@ static constexpr size_t INPUT_HISTORY_SIZE = 127; static constexpr int MAX_TEXTINPUT_HEIGHT = 120; -static constexpr int InputHeight = 26; -static constexpr int ButtonHeight = 24; +static constexpr int InputHeight = 24; +static constexpr int ButtonHeight = 22; FilteredTextEdit::FilteredTextEdit(QWidget *parent) : QTextEdit{parent} @@ -453,7 +453,7 @@ TextInputWidget::TextInputWidget(QWidget *parent) topLayout_ = new QHBoxLayout(); topLayout_->setSpacing(0); - topLayout_->setContentsMargins(15, 0, 15, 0); + topLayout_->setContentsMargins(13, 0, 13, 0); QIcon send_file_icon; send_file_icon.addFile(":/icons/icons/ui/paper-clip-outline.png"); -- cgit 1.5.1