mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-12 16:11:59 -05: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:
1 parent
2610eaefbe
commit
b64868079a
1 file changed
+4
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user