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

* Show a styled vertical scrollbar for artist's biographies, if needed.

This commit is contained in:
Christian Muehlhaeuser 2012-06-16 12:48:09 +02:00
parent c15e4062b2
commit 3b885aa730
2 changed files with 1 additions and 3 deletions

View File

@ -103,6 +103,7 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
ui->biography->setStyleSheet( "QTextBrowser#biography { background-color: transparent; }" );
ui->biography->setFrameShape( QFrame::NoFrame );
ui->biography->setAttribute( Qt::WA_MacShowFocusRect, 0 );
TomahawkUtils::styleScrollBar( ui->biography->verticalScrollBar() );
QPalette p = ui->biography->palette();
p.setColor( QPalette::Foreground, Qt::white );

View File

@ -171,9 +171,6 @@
<height>240</height>
</size>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>