Tab-order fix provided by aris-kimi.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9406
This commit is contained in:
Jeff Young 2023-06-17 18:34:37 +01:00
parent e7ae6cd190
commit 12cf696097
1 changed files with 31 additions and 0 deletions

View File

@ -96,6 +96,22 @@ DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES( PCB_BASE_EDIT_FRAME* aParent, BO
// Do not allow locking items in the footprint editor
m_cbLocked->Show( false );
m_tabOrder = {
m_SingleLineText,
m_LayerSelectionCtrl,
m_SizeXCtrl,
m_SizeYCtrl,
m_ThicknessCtrl,
m_Visible,
m_cbKnockout,
m_KeepUpright,
m_PositionXCtrl,
m_PositionYCtrl,
m_OrientCtrl,
m_sdbSizerOK,
m_sdbSizerCancel
};
}
else
{
@ -113,6 +129,21 @@ DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES( PCB_BASE_EDIT_FRAME* aParent, BO
m_KeepUpright->Show( false );
m_statusLine->Show( false );
m_tabOrder = {
m_MultiLineText,
m_cbLocked,
m_LayerSelectionCtrl,
m_SizeXCtrl,
m_SizeYCtrl,
m_ThicknessCtrl,
m_cbKnockout,
m_PositionXCtrl,
m_PositionYCtrl,
m_OrientCtrl,
m_sdbSizerOK,
m_sdbSizerCancel
};
}
m_bold->SetIsCheckButton();