mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
Merge pull request #110 from teo/master
Settings dialog size and alignment fixes
This commit is contained in:
@@ -193,6 +193,13 @@ SettingsDialog::SettingsDialog( QWidget *parent )
|
|||||||
{
|
{
|
||||||
ui->dirTree->checkPath( dir, Qt::Checked );
|
ui->dirTree->checkPath( dir, Qt::Checked );
|
||||||
}
|
}
|
||||||
|
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
|
||||||
|
@@ -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