From 4cf3f445322c5da7a36fa6102083d68e08a5aec0 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 24 Dec 2021 17:23:41 +0000 Subject: [PATCH] More consistency with hint messages. --- eeschema/dialogs/dialog_lib_shape_properties.cpp | 2 +- eeschema/dialogs/dialog_shape_properties.cpp | 4 ++-- eeschema/dialogs/panel_setup_formatting.cpp | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/eeschema/dialogs/dialog_lib_shape_properties.cpp b/eeschema/dialogs/dialog_lib_shape_properties.cpp index 4a6cc9ea9a..d001b4ce63 100644 --- a/eeschema/dialogs/dialog_lib_shape_properties.cpp +++ b/eeschema/dialogs/dialog_lib_shape_properties.cpp @@ -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 ); diff --git a/eeschema/dialogs/dialog_shape_properties.cpp b/eeschema/dialogs/dialog_shape_properties.cpp index d7e80f762c..72acfda0e5 100644 --- a/eeschema/dialogs/dialog_shape_properties.cpp +++ b/eeschema/dialogs/dialog_shape_properties.cpp @@ -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 ); diff --git a/eeschema/dialogs/panel_setup_formatting.cpp b/eeschema/dialogs/panel_setup_formatting.cpp index dd7de7631b..8f85545330 100644 --- a/eeschema/dialogs/panel_setup_formatting.cpp +++ b/eeschema/dialogs/panel_setup_formatting.cpp @@ -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 );