mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Fixed in-page margins.
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user