mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 17:29:42 +01:00
Merge pull request #110 from teo/master
Settings dialog size and alignment fixes
This commit is contained in:
commit
2f8b23b908
@ -193,6 +193,13 @@ SettingsDialog::SettingsDialog( QWidget *parent )
|
||||
{
|
||||
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
|
||||
// #ifdef Q_WS_MAC
|
||||
|
@ -318,8 +318,30 @@
|
||||
</property>
|
||||
</widget>
|
||||
</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>
|
||||
<widget class="QPushButton" name="proxyButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Proxy Settings...</string>
|
||||
</property>
|
||||
@ -353,7 +375,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkBoxHttp">
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Allow web browsers to interact with Tomahawk (recommended)</string>
|
||||
@ -366,7 +388,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkBoxReporter">
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Send reports after Tomahawk crashed</string>
|
||||
@ -383,6 +405,9 @@
|
||||
<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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user