summary refs log tree commit diff
path: root/src
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
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')
-rw-r--r--src/Config.h2
-rw-r--r--src/TextInputWidget.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Config.h b/src/Config.h

index 3bcaa200..19276c2b 100644 --- a/src/Config.h +++ b/src/Config.h
@@ -66,7 +66,7 @@ constexpr int minWidth = 950; } // namespace window namespace textInput { -constexpr int height = 50; +constexpr int height = 44; } namespace sidebarActions { 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");