mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Tweaked content margins for dictsPane.
This commit is contained in:
parent
14ba44980c
commit
32b77e2848
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue