mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 05:07:27 +02:00
Fixed alignment in Settings dialog, advanced page.
This commit is contained in:
@@ -195,6 +195,12 @@ SettingsDialog::SettingsDialog( QWidget *parent )
|
|||||||
}
|
}
|
||||||
ui->advancedPage->setMinimumSize( ui->advancedPage->sizeHint() );
|
ui->advancedPage->setMinimumSize( ui->advancedPage->sizeHint() );
|
||||||
|
|
||||||
|
int buttonsWidth = qMax( ui->proxyButton->sizeHint().width(),
|
||||||
|
ui->aclEntryClearButton->sizeHint().width() );
|
||||||
|
ui->proxyButton->setFixedWidth( buttonsWidth );
|
||||||
|
ui->aclEntryClearButton->setFixedWidth( buttonsWidth );
|
||||||
|
|
||||||
|
|
||||||
// NOW PLAYING
|
// NOW PLAYING
|
||||||
// #ifdef Q_WS_MAC
|
// #ifdef Q_WS_MAC
|
||||||
// ui->checkBoxEnableAdium->setChecked( s->nowPlayingEnabled() );
|
// ui->checkBoxEnableAdium->setChecked( s->nowPlayingEnabled() );
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QStackedWidget" name="stackedWidget">
|
<widget class="QStackedWidget" name="stackedWidget">
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>2</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="accountsPage">
|
<widget class="QWidget" name="accountsPage">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_11">
|
<layout class="QVBoxLayout" name="verticalLayout_11">
|
||||||
@@ -318,8 +318,30 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer_3">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>QSizePolicy::Expanding</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="proxyButton">
|
<widget class="QPushButton" name="proxyButton">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Proxy Settings...</string>
|
<string>Proxy Settings...</string>
|
||||||
</property>
|
</property>
|
||||||
@@ -353,7 +375,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="checkBoxHttp">
|
<widget class="QCheckBox" name="checkBoxHttp">
|
||||||
<property name="layoutDirection">
|
<property name="layoutDirection">
|
||||||
<enum>Qt::RightToLeft</enum>
|
<enum>Qt::LeftToRight</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Allow web browsers to interact with Tomahawk (recommended)</string>
|
<string>Allow web browsers to interact with Tomahawk (recommended)</string>
|
||||||
@@ -366,7 +388,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="checkBoxReporter">
|
<widget class="QCheckBox" name="checkBoxReporter">
|
||||||
<property name="layoutDirection">
|
<property name="layoutDirection">
|
||||||
<enum>Qt::RightToLeft</enum>
|
<enum>Qt::LeftToRight</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Send reports after Tomahawk crashed</string>
|
<string>Send reports after Tomahawk crashed</string>
|
||||||
@@ -383,6 +405,9 @@
|
|||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>QSizePolicy::Expanding</enum>
|
||||||
|
</property>
|
||||||
<property name="sizeHint" stdset="0">
|
<property name="sizeHint" stdset="0">
|
||||||
<size>
|
<size>
|
||||||
<width>40</width>
|
<width>40</width>
|
||||||
|
Reference in New Issue
Block a user