diff --git a/src/chatlog/content/filetransferwidget.cpp b/src/chatlog/content/filetransferwidget.cpp index 4fc8b3c89..03d050db2 100644 --- a/src/chatlog/content/filetransferwidget.cpp +++ b/src/chatlog/content/filetransferwidget.cpp @@ -60,7 +60,7 @@ FileTransferWidget::FileTransferWidget(QWidget *parent, ToxFile file) if(fileInfo.direction == ToxFile::SENDING) showPreview(fileInfo.filePath); - setFixedHeight(80); + setFixedHeight(60); } FileTransferWidget::~FileTransferWidget() @@ -134,7 +134,7 @@ void FileTransferWidget::paintEvent(QPaintEvent *) painter.setPen(Qt::NoPen); qreal s = static_cast(geometry().height()) / static_cast(geometry().width()); - int r = 15; + int r = 20; painter.drawRoundRect(geometry(), r * s, r); } diff --git a/ui/fileTransferInstance/filetransferWidget.css b/ui/fileTransferInstance/filetransferWidget.css index 60ff2bcbe..6be989d4e 100644 --- a/ui/fileTransferInstance/filetransferWidget.css +++ b/ui/fileTransferInstance/filetransferWidget.css @@ -10,16 +10,16 @@ QPushButton { margin:0; + border: none; } QProgressBar { border: 2px solid black; - border-radius: 0px; - color: white; - background-color:white; + border-radius: 4px; + background-color: @mediumGrey; } QProgressBar::chunk { - background-color: black; - width: 20px; + background-color: @lightGrey; + width: 1px; } \ No newline at end of file