changed margin and spacing for consistency with other tabs; changed list size policy to minimize amount of vertical space used for the configuration
svn path=/trunk/KDE/kdebase/workspace/; revision=1017510
This commit is contained in:
parent
2ac48283c3
commit
91d68e395b
1 changed files with 3 additions and 2 deletions
|
@ -43,8 +43,8 @@ namespace Nitrogen
|
||||||
|
|
||||||
// layout
|
// layout
|
||||||
QHBoxLayout* h_layout = new QHBoxLayout();
|
QHBoxLayout* h_layout = new QHBoxLayout();
|
||||||
h_layout->setMargin(4);
|
h_layout->setMargin(6);
|
||||||
h_layout->setSpacing(4);
|
h_layout->setSpacing(6);
|
||||||
setLayout( h_layout );
|
setLayout( h_layout );
|
||||||
|
|
||||||
// list
|
// list
|
||||||
|
@ -54,6 +54,7 @@ namespace Nitrogen
|
||||||
_list().setSortingEnabled( false );
|
_list().setSortingEnabled( false );
|
||||||
_list().setModel( &_model() );
|
_list().setModel( &_model() );
|
||||||
_list().sortByColumn( NitrogenExceptionModel::TYPE );
|
_list().sortByColumn( NitrogenExceptionModel::TYPE );
|
||||||
|
_list().setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::Ignored ) );
|
||||||
|
|
||||||
// button layout
|
// button layout
|
||||||
QVBoxLayout* v_layout = new QVBoxLayout();
|
QVBoxLayout* v_layout = new QVBoxLayout();
|
||||||
|
|
Loading…
Reference in a new issue