summary refs log tree commit diff
path: root/src/TextInputWidget.cpp
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-29 14:05:59 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-29 14:05:59 +0300
commit758be07a5a81fdbdf5ffece6c82f0b6b8d8e96b2 (patch)
tree66c8d1d1cd5d779ec003f3fe48d7fff4ead75ea9 /src/TextInputWidget.cpp
parentDisplay tags as sorting items in the community panel (#401) (diff)
downloadnheko-758be07a5a81fdbdf5ffece6c82f0b6b8d8e96b2.tar.xz
Make the height of the bottom bar smaller
Diffstat (limited to 'src/TextInputWidget.cpp')
-rw-r--r--src/TextInputWidget.cpp6
1 files changed, 3 insertions, 3 deletions
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");