Reenabled focusing of tab but removed focus rect
Signed-off-by: nggieber <nggieber@amazon.com>
This commit is contained in:
@@ -53,6 +53,11 @@ QTabBar::tab:pressed
|
||||
{
|
||||
color: #0e60eb;
|
||||
}
|
||||
QTabBar::focus {
|
||||
outline: 0px;
|
||||
outline: none;
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
/************** General (Forms) **************/
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ namespace O3DE::ProjectManager
|
||||
|
||||
// add a tab widget at the bottom of the stack
|
||||
m_tabWidget = new QTabWidget();
|
||||
m_tabWidget->tabBar()->setFocusPolicy(Qt::NoFocus);
|
||||
m_screenStack->addWidget(m_tabWidget);
|
||||
connect(m_tabWidget, &QTabWidget::currentChanged, this, &ScreensCtrl::TabChanged);
|
||||
}
|
||||
|
||||
@@ -54,7 +54,6 @@ namespace O3DE::ProjectManager
|
||||
QTabWidget* tabWidget = new QTabWidget();
|
||||
tabWidget->setObjectName("projectSettingsTab");
|
||||
tabWidget->tabBar()->setObjectName("projectSettingsTabBar");
|
||||
tabWidget->tabBar()->setFocusPolicy(Qt::NoFocus);
|
||||
tabWidget->addTab(m_updateSettingsScreen, tr("General"));
|
||||
|
||||
QPushButton* gemsButton = new QPushButton(tr("Configure Gems"), this);
|
||||
|
||||
Reference in New Issue
Block a user