diff --git a/src/mainwindow.ui b/src/mainwindow.ui index 05688a100..c9d082b56 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -397,7 +397,7 @@ QSplitter:handle{ - + 0 @@ -1034,7 +1034,7 @@ QSplitter:handle{ 0 0 284 - 401 + 399 @@ -1757,7 +1757,7 @@ QSplitter:handle{ 0 0 775 - 19 + 21 diff --git a/src/widget/widget.cpp b/src/widget/widget.cpp index f1e9f261d..e96f7753c 100644 --- a/src/widget/widget.cpp +++ b/src/widget/widget.cpp @@ -121,8 +121,8 @@ void Widget::init() profilePicture = new MaskablePixmapWidget(this, QSize(40, 40), ":/img/avatar_mask.png"); profilePicture->setPixmap(QPixmap(":/img/contact_dark.png")); profilePicture->setClickable(true); - ui->horizontalLayout_3->insertWidget(0, profilePicture); - ui->horizontalLayout_3->insertSpacing(1, 7); + ui->myProfile->insertWidget(0, profilePicture); + ui->myProfile->insertSpacing(1, 7); ui->mainContent->setLayout(new QVBoxLayout()); ui->mainHead->setLayout(new QVBoxLayout()); @@ -139,6 +139,8 @@ void Widget::init() ui->mainHead->setStyleSheet(Style::getStylesheet(":ui/settings/mainHead.css")); ui->mainContent->setStyleSheet(Style::getStylesheet(":ui/settings/mainContent.css")); + + ui->statusHead->setStyleSheet(Style::getStylesheet(":/ui/window/statusPanel.css")); contactListWidget = new FriendListWidget(); ui->friendList->setWidget(contactListWidget); diff --git a/ui/window/statusPanel.css b/ui/window/statusPanel.css index 4683bc15a..de4dcd043 100644 --- a/ui/window/statusPanel.css +++ b/ui/window/statusPanel.css @@ -1,4 +1,13 @@ -#statusPanel +QLineEdit +{ + background: none; + background-color: @mediumGrey; + color: white; + border: 0px; + border-radius: 6px; +} + +#statusPanel { background-color: @darkGrey; }