diff --git a/src/propertiesWidget.ui b/src/propertiesWidget.ui index cfaff1c6d..ca97ccf8a 100644 --- a/src/propertiesWidget.ui +++ b/src/propertiesWidget.ui @@ -884,6 +884,9 @@ + + 9 + 5 @@ -903,7 +906,6 @@ border: 1px solid rgb(85, 81, 91); border-radius: 3px; padding: 2px; -margin-left: 3px; margin-right: 3px; } @@ -928,7 +930,6 @@ margin-left: 3px; margin-right: 3px; border: 1px solid rgb(85, 81, 91); border-radius: 3px; padding: 2px; -margin-left: 3px; margin-right: 3px; } @@ -959,7 +960,6 @@ margin-left: 3px; margin-right: 3px; border: 1px solid rgb(85, 81, 91); border-radius: 3px; padding: 2px; -margin-left: 3px; margin-right: 3px; } @@ -984,7 +984,6 @@ margin-left: 3px; margin-right: 3px; border: 1px solid rgb(85, 81, 91); border-radius: 3px; padding: 2px; -margin-left: 3px; margin-right: 3px; } @@ -1009,7 +1008,6 @@ margin-left: 3px; margin-right: 3px; border: 1px solid rgb(85, 81, 91); border-radius: 3px; padding: 2px; -margin-left: 3px; margin-right: 3px; } diff --git a/src/propertieswidget.cpp b/src/propertieswidget.cpp index 58a609eef..3ce6b2581 100644 --- a/src/propertieswidget.cpp +++ b/src/propertieswidget.cpp @@ -49,8 +49,8 @@ #include "TorrentFilesModel.h" #include "peerlistwidget.h" -#define DEFAULT_BUTTON_CSS "QPushButton {border: 1px solid rgb(85, 81, 91);border-radius: 3px;padding: 2px; margin-left: 3px; margin-right: 3px;}" -#define SELECTED_BUTTON_CSS "QPushButton {border: 1px solid rgb(85, 81, 91);border-radius: 3px;padding: 2px;background-color: rgb(255, 208, 105);margin-left: 3px; margin-right: 3px;}" +#define DEFAULT_BUTTON_CSS "QPushButton {border: 1px solid rgb(85, 81, 91);border-radius: 3px;padding: 2px;}" +#define SELECTED_BUTTON_CSS "QPushButton {border: 1px solid rgb(85, 81, 91);border-radius: 3px;padding: 2px;background-color: rgb(255, 208, 105);}" PropertiesWidget::PropertiesWidget(QWidget *parent, TransferListWidget *transferList, bittorrent* BTSession): QWidget(parent), transferList(transferList), BTSession(BTSession) { setupUi(this);