Make the height of the bottom bar smaller

This commit is contained in:
Konstantinos Sideris 2018-09-29 14:05:59 +03:00
parent 18a98a7c1d
commit 758be07a5a
2 changed files with 4 additions and 4 deletions

View file

@ -66,7 +66,7 @@ constexpr int minWidth = 950;
} // namespace window } // namespace window
namespace textInput { namespace textInput {
constexpr int height = 50; constexpr int height = 44;
} }
namespace sidebarActions { namespace sidebarActions {

View file

@ -43,8 +43,8 @@
static constexpr size_t INPUT_HISTORY_SIZE = 127; static constexpr size_t INPUT_HISTORY_SIZE = 127;
static constexpr int MAX_TEXTINPUT_HEIGHT = 120; static constexpr int MAX_TEXTINPUT_HEIGHT = 120;
static constexpr int InputHeight = 26; static constexpr int InputHeight = 24;
static constexpr int ButtonHeight = 24; static constexpr int ButtonHeight = 22;
FilteredTextEdit::FilteredTextEdit(QWidget *parent) FilteredTextEdit::FilteredTextEdit(QWidget *parent)
: QTextEdit{parent} : QTextEdit{parent}
@ -453,7 +453,7 @@ TextInputWidget::TextInputWidget(QWidget *parent)
topLayout_ = new QHBoxLayout(); topLayout_ = new QHBoxLayout();
topLayout_->setSpacing(0); topLayout_->setSpacing(0);
topLayout_->setContentsMargins(15, 0, 15, 0); topLayout_->setContentsMargins(13, 0, 13, 0);
QIcon send_file_icon; QIcon send_file_icon;
send_file_icon.addFile(":/icons/icons/ui/paper-clip-outline.png"); send_file_icon.addFile(":/icons/icons/ui/paper-clip-outline.png");