More consistency with hint messages.

This commit is contained in:
Jeff Young 2021-12-24 17:23:41 +00:00
parent ceceda37cc
commit 4cf3f44532
3 changed files with 4 additions and 5 deletions

View File

@ -35,7 +35,7 @@ DIALOG_LIB_SHAPE_PROPERTIES::DIALOG_LIB_SHAPE_PROPERTIES( SYMBOL_EDIT_FRAME* aPa
m_lineWidth( aParent, m_widthLabel, m_widthCtrl, m_widthUnits, true )
{
SetTitle( aItem->GetTypeName() + wxT( " " ) + GetTitle() );
m_helpLabel->SetFont( KIUI::GetInfoFont( this ) );
m_helpLabel->SetFont( KIUI::GetInfoFont( this ).Italic() );
SetInitialFocus( m_widthCtrl );

View File

@ -35,8 +35,8 @@ DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES( SCH_EDIT_FRAME* aParent, SCH_S
{
SetTitle( wxString::Format( GetTitle(), aShape->ShowShape() ) );
m_helpLabel1->SetFont( KIUI::GetInfoFont( this ) );
m_helpLabel2->SetFont( KIUI::GetInfoFont( this ) );
m_helpLabel1->SetFont( KIUI::GetInfoFont( this ).Italic() );
m_helpLabel2->SetFont( KIUI::GetInfoFont( this ).Italic() );
SetInitialFocus( m_lineWidthCtrl );

View File

@ -39,6 +39,7 @@ PANEL_SETUP_FORMATTING::PANEL_SETUP_FORMATTING( wxWindow* aWindow, SCH_EDIT_FRAM
m_lineWidth( aFrame, m_lineWidthLabel, m_lineWidthCtrl, m_lineWidthUnits ),
m_pinSymbolSize( aFrame, m_pinSymbolSizeLabel, m_pinSymbolSizeCtrl, m_pinSymbolSizeUnits )
{
m_dashedLineHelp->SetFont( KIUI::GetInfoFont( this ).Italic() );
}
@ -46,8 +47,6 @@ void PANEL_SETUP_FORMATTING::onCheckBoxIref( wxCommandEvent& event )
{
bool enabled = m_showIntersheetsReferences->GetValue();
m_dashedLineHelp->SetFont( KIUI::GetInfoFont( this ) );
m_radioFormatStandard->Enable( enabled );
m_radioFormatAbbreviated->Enable( enabled );
m_prefixCtrl->Enable( enabled );