mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Make chatform somewhat prettier
This commit is contained in:
parent
f8fb0964b2
commit
beaebc2056
|
@ -26,7 +26,10 @@ ChatForm::ChatForm(Friend* chatFriend)
|
|||
name->setText(chatFriend->widget->name.text());
|
||||
name->setFont(bold);
|
||||
statusMessage->setText(chatFriend->widget->statusMessage.text());
|
||||
avatar->setPixmap(*chatFriend->widget->avatar.pixmap());
|
||||
|
||||
// No real avatar support in toxcore, better draw a pretty picture
|
||||
//avatar->setPixmap(*chatFriend->widget->avatar.pixmap());
|
||||
avatar->setPixmap(QPixmap("img/contact list icons/contact_dark.png"));
|
||||
|
||||
chatAreaWidget->setLayout(mainChatLayout);
|
||||
QString chatAreaStylesheet = "";
|
||||
|
@ -45,7 +48,7 @@ ChatForm::ChatForm(Friend* chatFriend)
|
|||
chatArea->setFrameStyle(QFrame::NoFrame);
|
||||
|
||||
mainChatLayout->setColumnStretch(1,1);
|
||||
mainChatLayout->setSpacing(10);
|
||||
mainChatLayout->setSpacing(5);
|
||||
|
||||
footButtonsSmall->setSpacing(2);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user