quick fixes before translations get started
This commit is contained in:
parent
6fb7687949
commit
6a5d55bf0b
|
@ -88,7 +88,7 @@ DIALOG_DESIGN_RULES::DIALOG_DESIGN_RULES( WinEDA_PcbFrame* parent ) :
|
||||||
|
|
||||||
|
|
||||||
InitDialogRules();
|
InitDialogRules();
|
||||||
Layout();
|
Layout();
|
||||||
GetSizer()->Fit( this );
|
GetSizer()->Fit( this );
|
||||||
GetSizer()->SetSizeHints( this );
|
GetSizer()->SetSizeHints( this );
|
||||||
Center();
|
Center();
|
||||||
|
@ -921,7 +921,7 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
if( tvalue.IsEmpty() )
|
if( tvalue.IsEmpty() )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
int tracksize = ReturnValueFromString( g_UnitMetric,
|
int tracksize = ReturnValueFromString( g_UnitMetric,
|
||||||
tvalue,
|
tvalue,
|
||||||
m_Parent->m_InternalUnits );
|
m_Parent->m_InternalUnits );
|
||||||
if( tracksize < minTrackWidth )
|
if( tracksize < minTrackWidth )
|
||||||
|
@ -935,7 +935,7 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
if( tracksize > 10000 )
|
if( tracksize > 10000 )
|
||||||
{
|
{
|
||||||
result = false;
|
result = false;
|
||||||
msg.Printf( _( "<b>Extra Track %d Size</b> ¨%s > <b>1 inch!</b><br>" ),
|
msg.Printf( _( "<b>Extra Track %d Size</b> %s > <b>1 inch!</b><br>" ),
|
||||||
row+1, GetChars( tvalue ) );
|
row+1, GetChars( tvalue ) );
|
||||||
|
|
||||||
m_MessagesList->AppendToPage( msg );
|
m_MessagesList->AppendToPage( msg );
|
||||||
|
@ -971,3 +971,4 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version Apr 16 2008)
|
// C++ code generated with wxFormBuilder (version Dec 29 2008)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO "NOT" EDIT THIS FILE!
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
||||||
|
@ -84,6 +84,7 @@ class DIALOG_DESIGN_RULES_BASE : public wxDialog
|
||||||
wxStaticText* m_staticTextInfo;
|
wxStaticText* m_staticTextInfo;
|
||||||
wxStaticText* m_staticText7;
|
wxStaticText* m_staticText7;
|
||||||
wxGrid* m_gridViaSizeList;
|
wxGrid* m_gridViaSizeList;
|
||||||
|
wxStaticText* m_staticText8;
|
||||||
wxGrid* m_gridTrackWidthList;
|
wxGrid* m_gridTrackWidthList;
|
||||||
wxHtmlWindow* m_MessagesList;
|
wxHtmlWindow* m_MessagesList;
|
||||||
wxStdDialogButtonSizer* m_sdbButtonsSizer;
|
wxStdDialogButtonSizer* m_sdbButtonsSizer;
|
||||||
|
@ -107,7 +108,7 @@ class DIALOG_DESIGN_RULES_BASE : public wxDialog
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Design Rules Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 792,692 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Design Rules Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 850,692 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
||||||
~DIALOG_DESIGN_RULES_BASE();
|
~DIALOG_DESIGN_RULES_BASE();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue