mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-04 13:17:22 -06:00
QWebView does not render checkbox, and radio button propoerly on
MacOSX. In order to fix it, we need to set 'style' to 'funsion' on MacOSX. Reference: https://bugreports.qt.io/browse/QTBUG-43366
This commit is contained in:
parent
2610eaefbe
commit
b64868079a
@ -64,6 +64,10 @@ BrowserWindow::BrowserWindow(QString url)
|
||||
QWebSettings::globalSettings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
m_mainWebView->setStyle(QStyleFactory::create("Fusion"));
|
||||
#endif
|
||||
|
||||
m_tabGridLayout->addWidget(m_mainWebView, 0, 0, 1, 1);
|
||||
m_tabWidget->addTab(m_pgAdminMainTab, QString());
|
||||
m_tabWidget->setCurrentIndex(0);
|
||||
|
Loading…
Reference in New Issue
Block a user