@ -39,7 +39,7 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP(
wxString orientationRadioBoxChoices [ ] = { _ ( " 0 " ) , _ ( " +90 " ) , _ ( " 180 " ) , _ ( " -90 " ) } ;
int orientationRadioBoxNChoices = sizeof ( orientationRadioBoxChoices ) / sizeof ( wxString ) ;
orientationRadioBox = new wxRadioBox ( this , wxID_ANY , _ ( " Orientation (Degrees) " ) , wxDefaultPosition , wxDefaultSize , orientationRadioBoxNChoices , orientationRadioBoxChoices , 1 , wxRA_SPECIFY_COLS ) ;
orientationRadioBox - > SetSelection ( 0 ) ;
orientationRadioBox - > SetSelection ( 3 ) ;
orientationRadioBox - > SetToolTip ( _ ( " Select if the component is to be rotated when drawn " ) ) ;
orientationSizer - > Add ( orientationRadioBox , 1 , wxALL , 8 ) ;
@ -52,7 +52,7 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP(
wxString mirrorRadioBoxChoices [ ] = { _ ( " Normal " ) , _ ( " Mirror --- " ) , _ ( " Mirror | " ) } ;
int mirrorRadioBoxNChoices = sizeof ( mirrorRadioBoxChoices ) / sizeof ( wxString ) ;
mirrorRadioBox = new wxRadioBox ( this , wxID_ANY , _ ( " Mirror " ) , wxDefaultPosition , wxDefaultSize , mirrorRadioBoxNChoices , mirrorRadioBoxChoices , 1 , wxRA_SPECIFY_COLS ) ;
mirrorRadioBox - > SetSelection ( 0 ) ;
mirrorRadioBox - > SetSelection ( 2 ) ;
mirrorRadioBox - > SetToolTip ( _ ( " Pick the graphical transformation to be used when displaying the component, if any " ) ) ;
mirrorSizer - > Add ( mirrorRadioBox , 1 , wxALL , 8 ) ;
@ -134,7 +134,7 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP(
wxString m_StyleRadioBoxChoices [ ] = { _ ( " Normal " ) , _ ( " Italic " ) , _ ( " Bold " ) , _ ( " Bold Italic " ) } ;
int m_StyleRadioBoxNChoices = sizeof ( m_StyleRadioBoxChoices ) / sizeof ( wxString ) ;
m_StyleRadioBox = new wxRadioBox ( this , wxID_ANY , _ ( " Style: " ) , wxDefaultPosition , wxDefaultSize , m_StyleRadioBoxNChoices , m_StyleRadioBoxChoices , 1 , wxRA_SPECIFY_COLS ) ;
m_StyleRadioBox - > SetSelection ( 0 ) ;
m_StyleRadioBox - > SetSelection ( 3 ) ;
m_StyleRadioBox - > SetToolTip ( _ ( " The style of the currently selected field's text in the schemati " ) ) ;
visibilitySizer - > Add ( m_StyleRadioBox , 1 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
@ -149,7 +149,7 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP(
fieldNameBoxSizer - > Add ( fieldNameLabel , 0 , 0 , 5 ) ;
fieldNameTextCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fieldNameTextCtrl - > SetToolTip ( _ ( " The text (or value) of the currently selected field " ) ) ;
fieldNameTextCtrl - > SetToolTip ( _ ( " The name of the currently selected field \n Some fixed fields names are not editable " ) ) ;
fieldNameBoxSizer - > Add ( fieldNameTextCtrl , 0 , wxEXPAND , 5 ) ;
@ -220,6 +220,8 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP(
fieldEditBoxSizer - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
defaultsButton = new wxButton ( this , wxID_ANY , _ ( " Reset to Library Defaults " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
defaultsButton - > SetToolTip ( _ ( " Set position and style of fields and component orientation to default lib value. \n Fields texts are not modified. " ) ) ;
fieldEditBoxSizer - > Add ( defaultsButton , 0 , wxALL | wxEXPAND , 5 ) ;