mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
1
This commit is contained in:
parent
701a4effb3
commit
c0697ecdda
|
@ -110,8 +110,9 @@ void ArticleView::setupWebview()
|
|||
this->tabWidget = new QTabWidget( this );
|
||||
baseLayout->addWidget( this->tabWidget );
|
||||
|
||||
QWidget * tab1 = new QWidget( tabWidget );
|
||||
// Layout
|
||||
auto * mainLayout = new QVBoxLayout( tabWidget );
|
||||
auto * mainLayout = new QVBoxLayout( tab1 );
|
||||
mainLayout->addWidget( this->webview );
|
||||
mainLayout->addWidget( this->ftsSearchPanel );
|
||||
mainLayout->addWidget( this->searchPanel );
|
||||
|
@ -122,7 +123,7 @@ void ArticleView::setupWebview()
|
|||
|
||||
mainLayout->setContentsMargins( 0, 0, 0, 0 );
|
||||
|
||||
this->tabWidget->addTab( mainLayout, "Dictionaries" );
|
||||
this->tabWidget->addTab( tab1, "Dictionaries" );
|
||||
this->tabWidget->setTabBarAutoHide( true );
|
||||
|
||||
// end UI setup
|
||||
|
|
Loading…
Reference in a new issue