diff --git a/eeschema/dialogs/dialog_lib_shape_properties.cpp b/eeschema/dialogs/dialog_lib_shape_properties.cpp
index 2928f095bc..cc945d1d73 100644
--- a/eeschema/dialogs/dialog_lib_shape_properties.cpp
+++ b/eeschema/dialogs/dialog_lib_shape_properties.cpp
@@ -40,7 +40,8 @@ DIALOG_LIB_SHAPE_PROPERTIES::DIALOG_LIB_SHAPE_PROPERTIES( SYMBOL_EDIT_FRAME* aPa
{
wxASSERT( aShape );
- SetTitle( m_shape->GetTypeName() + wxT( " " ) + GetTitle() );
+ SetTitle( wxString::Format( GetTitle(), aShape->EDA_SHAPE::GetFriendlyName() ) );
+
m_helpLabel->SetFont( KIUI::GetInfoFont( this ).Italic() );
COLOR_SETTINGS* colorSettings = m_frame->GetColorSettings();
@@ -59,6 +60,9 @@ DIALOG_LIB_SHAPE_PROPERTIES::DIALOG_LIB_SHAPE_PROPERTIES( SYMBOL_EDIT_FRAME* aPa
m_helpLabel->SetFont( KIUI::GetInfoFont( this ).Italic() );
+ if( m_frame->GetColorSettings()->GetOverrideSchItemColors() )
+ m_infoBar->ShowMessage( _( "Note: individual item colors overridden in Preferences." ) );
+
SetInitialFocus( m_borderWidthCtrl );
// Required under wxGTK if we want to dismiss the dialog with the ESC key
diff --git a/eeschema/dialogs/dialog_lib_shape_properties_base.cpp b/eeschema/dialogs/dialog_lib_shape_properties_base.cpp
index a8c9e9670b..ad87661b3f 100644
--- a/eeschema/dialogs/dialog_lib_shape_properties_base.cpp
+++ b/eeschema/dialogs/dialog_lib_shape_properties_base.cpp
@@ -6,6 +6,7 @@
///////////////////////////////////////////////////////////////////////////
#include "widgets/color_swatch.h"
+#include "widgets/wx_infobar.h"
#include "dialog_lib_shape_properties_base.h"
@@ -26,6 +27,13 @@ DIALOG_LIB_SHAPE_PROPERTIES_BASE::DIALOG_LIB_SHAPE_PROPERTIES_BASE( wxWindow* pa
wxBoxSizer* mainSizer;
mainSizer = new wxBoxSizer( wxVERTICAL );
+ m_infoBar = new WX_INFOBAR( this );
+ m_infoBar->SetShowHideEffects( wxSHOW_EFFECT_NONE, wxSHOW_EFFECT_NONE );
+ m_infoBar->SetEffectDuration( 500 );
+ m_infoBar->Hide();
+
+ mainSizer->Add( m_infoBar, 0, wxEXPAND, 5 );
+
wxBoxSizer* bTop;
bTop = new wxBoxSizer( wxHORIZONTAL );
diff --git a/eeschema/dialogs/dialog_lib_shape_properties_base.fbp b/eeschema/dialogs/dialog_lib_shape_properties_base.fbp
index b2e97e509d..12a4ce2767 100644
--- a/eeschema/dialogs/dialog_lib_shape_properties_base.fbp
+++ b/eeschema/dialogs/dialog_lib_shape_properties_base.fbp
@@ -50,7 +50,7 @@
-1,-1
wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
DIALOG_SHIM; dialog_shim.h
- Drawing Properties
+ %s Properties
0
@@ -61,6 +61,66 @@
mainSizer
wxVERTICAL
none
+
10
wxALL|wxEXPAND
diff --git a/eeschema/dialogs/dialog_lib_shape_properties_base.h b/eeschema/dialogs/dialog_lib_shape_properties_base.h
index 2f86d47da9..70ba1cce76 100644
--- a/eeschema/dialogs/dialog_lib_shape_properties_base.h
+++ b/eeschema/dialogs/dialog_lib_shape_properties_base.h
@@ -11,14 +11,16 @@
#include
#include
class COLOR_SWATCH;
+class WX_INFOBAR;
#include "dialog_shim.h"
-#include
-#include
+#include
#include
#include
#include
#include
+#include
+#include
#include
#include
#include
@@ -54,6 +56,7 @@ class DIALOG_LIB_SHAPE_PROPERTIES_BASE : public DIALOG_SHIM
FILLED_WITH_COLOR
};
+ WX_INFOBAR* m_infoBar;
wxCheckBox* m_checkBorder;
wxStaticText* m_borderWidthLabel;
wxTextCtrl* m_borderWidthCtrl;
@@ -83,7 +86,7 @@ class DIALOG_LIB_SHAPE_PROPERTIES_BASE : public DIALOG_SHIM
public:
- DIALOG_LIB_SHAPE_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Drawing Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
+ DIALOG_LIB_SHAPE_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("%s Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
~DIALOG_LIB_SHAPE_PROPERTIES_BASE();