mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-07 17:42:35 +02:00
Tweak margins and sizehints
This commit is contained in:
parent
8f86171130
commit
a147494d00
@ -118,14 +118,6 @@ SettingsDialog::SettingsDialog(QObject *parent )
|
||||
m_advancedWidgetUi->aclEntryClearButton->setEnabled( TomahawkSettings::instance()->aclEntries().size() > 0 );
|
||||
connect( m_advancedWidgetUi->aclEntryClearButton, SIGNAL( clicked( bool ) ), this, SLOT( aclEntryClearButtonClicked() ) );
|
||||
|
||||
//#ifdef Q_WS_X11
|
||||
// setContentsMargins( 4, 4, 4, 4 );
|
||||
//#elif defined( Q_OS_MAC )
|
||||
// setContentsMargins( 0, 0, 0, 4 );
|
||||
//#else
|
||||
// setContentsMargins( 0, 4, 4, 4 );
|
||||
//#endif
|
||||
|
||||
#ifdef Q_WS_MAC
|
||||
// Avoid resize handles on sheets on osx
|
||||
m_proxySettings.setSizeGripEnabled( true );
|
||||
@ -199,7 +191,6 @@ SettingsDialog::SettingsDialog(QObject *parent )
|
||||
{
|
||||
m_collectionWidgetUi->dirTree->checkPath( dir, Qt::Checked );
|
||||
}
|
||||
// m_collectionWidgetUi->advancedPage->setMinimumSize( ui->advancedPage->sizeHint() );
|
||||
|
||||
int buttonsWidth = qMax( m_advancedWidgetUi->proxyButton->sizeHint().width(),
|
||||
m_advancedWidgetUi->aclEntryClearButton->sizeHint().width() );
|
||||
@ -207,6 +198,8 @@ SettingsDialog::SettingsDialog(QObject *parent )
|
||||
m_advancedWidgetUi->aclEntryClearButton->setFixedWidth( buttonsWidth );
|
||||
|
||||
|
||||
m_advancedWidget->setMinimumSize( m_advancedWidget->sizeHint() );
|
||||
m_accountsWidget->setMinimumSize( 500, 400 );
|
||||
// NOW PLAYING
|
||||
// #ifdef Q_WS_MAC
|
||||
// ui->checkBoxEnableAdium->setChecked( s->nowPlayingEnabled() );
|
||||
|
@ -14,6 +14,9 @@
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
|
@ -14,6 +14,9 @@
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="remoteConnectionsGroupBox">
|
||||
<property name="title">
|
||||
|
@ -14,6 +14,9 @@
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
|
@ -93,6 +93,7 @@ QToolbarTabDialog::QToolbarTabDialog() :
|
||||
pimpl->rightSpacer = pimpl->toolbar->addWidget(rightSpacer);
|
||||
|
||||
pimpl->layout = new QVBoxLayout;
|
||||
pimpl->layout->setContentsMargins( 4, 4, 4, 4 );
|
||||
pimpl->layout->addWidget(pimpl->toolbar);
|
||||
pimpl->layout->addWidget(pimpl->separator);
|
||||
pimpl->layout->addWidget(pimpl->stack);
|
||||
|
Loading…
x
Reference in New Issue
Block a user