Tweaked content margins for dictsPane.

This commit is contained in:
Tvangeste 2012-12-27 13:11:11 +01:00
parent 14ba44980c
commit 32b77e2848

View file

@ -189,7 +189,9 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
// Make the dictionaries pane's titlebar
foundInDictsLabel.setText( tr( "Found in Dictionaries:" ) );
dictsPaneTitleBarLayout.addWidget( &foundInDictsLabel );
dictsPaneTitleBarLayout.setContentsMargins(5, 5, 5, 5);
dictsPaneTitleBar.setLayout( &dictsPaneTitleBarLayout );
dictsPaneTitleBar.setObjectName("dictsPaneTitleBar");
ui.dictsPane->setTitleBarWidget( &dictsPaneTitleBar );
ui.dictsList->setContextMenuPolicy( Qt::CustomContextMenu );