1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Fixed in-page margins.

This commit is contained in:
Christian Muehlhaeuser 2014-09-26 08:53:28 +02:00
parent da21c02270
commit 393d0c5240
3 changed files with 7 additions and 1 deletions

View File

@ -106,6 +106,8 @@ ContextView::ContextView( QWidget* parent, const QString& caption )
connect( m_trackView, SIGNAL( querySelected( Tomahawk::query_ptr ) ), SLOT( onQuerySelected( Tomahawk::query_ptr ) ) );
connect( m_trackView, SIGNAL( querySelected( Tomahawk::query_ptr ) ), detailView, SLOT( setQuery( Tomahawk::query_ptr ) ) );
// connect( m_header, SIGNAL( filterTextChanged( QString ) ), SLOT( setFilter( QString ) ) );
TomahawkUtils::fixMargins( this );
}

View File

@ -234,6 +234,8 @@ SearchWidget::SearchWidget( const QString& search, QWidget* parent )
connect( query.data(), SIGNAL( resultsAdded( QList<Tomahawk::result_ptr> ) ), SLOT( onResultsFound( QList<Tomahawk::result_ptr> ) ) );
connect( query.data(), SIGNAL( resolvingFinished( bool ) ), SLOT( onQueryFinished() ) );
}
TomahawkUtils::fixMargins( this );
}

View File

@ -212,7 +212,7 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
QVBoxLayout* vboxl = new QVBoxLayout;
TomahawkUtils::unmarginLayout( vboxl );
vboxl->setContentsMargins( scaled( 32, 32, 32, 32 ) );
vboxl->setContentsMargins( 32, 32, 32, 32 );
vboxl->setSpacing( scaledY( 8 ) );
vbox->setLayout( vboxl );
@ -242,6 +242,8 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
onSliderValueChanged( 0 );
load( artist );
TomahawkUtils::fixMargins( this );
}