added auto resizing input & settings

This commit is contained in:
fourtf
2017-01-21 05:14:27 +01:00
parent d215bd58b0
commit a114bd1204
12 changed files with 108 additions and 9 deletions
+9 -2
View File
@@ -7,9 +7,16 @@ namespace chatterino {
namespace widgets {
ChatWidgetInput::ChatWidgetInput()
: edit(this)
: hbox()
, edit()
{
setFixedHeight(38);
this->setLayout(&hbox);
this->setMaximumHeight(100);
this->hbox.addWidget(&edit);
edit.setStyleSheet(ColorScheme::instance().InputStyleSheet);
}
void