Commit 6b45f1bb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: make the search box take less space.

parent 7bdd5b8a
......@@ -463,4 +463,5 @@ void PLSelector::podcastRemove( PLSelItem* item )
PLSelItem * PLSelector::itemWidget( QTreeWidgetItem *item )
{
return ( static_cast<PLSelItem*>( QTreeWidget::itemWidget( item, 0 ) ) );
}
\ No newline at end of file
}
......@@ -119,9 +119,10 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
layout->addWidget( title, 0, 0 );
/* A Spacer and the search possibilities */
layout->setRowStretch( 1, 10 );
layout->setColumnStretch( 1, 10 );
SearchLineEdit *search = new SearchLineEdit( this );
search->setMaximumWidth( 160 );
layout->addWidget( search, 0, 4 );
CONNECT( search, textChanged( const QString& ), this, search( const QString& ) );
......@@ -130,7 +131,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
addButton->setIcon( QIcon( ":/buttons/playlist/playlist_add" ) );
addButton->setMaximumWidth( 30 );
BUTTONACT( addButton, popupAdd() );
layout->addWidget( addButton, 0, 2 );
layout->addWidget( addButton, 0, 3 );
/* Finish the layout */
layout->addWidget( view, 1, 0, 1, -1 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment