mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 11:49:01 +03:00
- Attempt to fix property buttons layout on Mac OS
This commit is contained in:
parent
eab216e5a8
commit
e30268cf3b
2 changed files with 5 additions and 7 deletions
|
@ -884,6 +884,9 @@
|
|||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<property name="spacing">
|
||||
<number>9</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>5</number>
|
||||
</property>
|
||||
|
@ -903,7 +906,6 @@
|
|||
border: 1px solid rgb(85, 81, 91);
|
||||
border-radius: 3px;
|
||||
padding: 2px;
|
||||
margin-left: 3px; margin-right: 3px;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
@ -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;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
@ -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;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
@ -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;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
@ -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;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue