1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-02-26 12:53:41 +01:00

Do not expand Hot Playlists View on init

This commit is contained in:
Uwe L. Korn 2013-07-30 13:03:04 +02:00
parent 91b01038b1
commit 6080e75f51
2 changed files with 2 additions and 6 deletions

View File

@ -163,9 +163,6 @@ NetworkActivityWidget::NetworkActivityWidget( QWidget* parent )
d->ui->playlistView->setAttribute( Qt::WA_MacShowFocusRect, 0 );
d->ui->playlistView->setItemDelegate( new PlaylistDelegate() );
d->ui->playlistView->setVerticalScrollMode( QAbstractItemView::ScrollPerPixel );
d->ui->playlistView->overlay()->setText( tr( "Coming soon." ) );
d->ui->playlistView->overlay()->resize( 380, 86 );
d->ui->playlistView->overlay()->setEnabled( true );
QPalette p = d->ui->playlistView->palette();
p.setColor( QPalette::Text, TomahawkStyle::HEADER_TEXT );
@ -176,7 +173,6 @@ NetworkActivityWidget::NetworkActivityWidget( QWidget* parent )
d->ui->playlistView->setPalette( p );
d->ui->playlistView->overlay()->setPalette( p );
d->ui->playlistView->setMinimumHeight( 400 );
d->ui->playlistView->setStyleSheet( "QListView { background-color: transparent; }" );
TomahawkStyle::styleScrollBar( d->ui->playlistView->verticalScrollBar() );
TomahawkStyle::stylePageFrame( d->ui->playlistsFrame );

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>875</width>
<height>526</height>
<height>675</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
@ -83,7 +83,7 @@
<item>
<widget class="Tomahawk::Widgets::PlaylistWidget" name="playlistView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>