14DIALOG_JUNCTION_PROPS_BASE::DIALOG_JUNCTION_PROPS_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
16 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
19 bSizer2 =
new wxBoxSizer( wxVERTICAL );
21 wxFlexGridSizer* fgSizer2;
22 fgSizer2 =
new wxFlexGridSizer( 0, 3, 5, 0 );
23 fgSizer2->AddGrowableCol( 1 );
24 fgSizer2->SetFlexibleDirection( wxBOTH );
25 fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
27 m_staticTextDiameter =
new wxStaticText(
this, wxID_ANY,
_(
"Diameter:"), wxDefaultPosition, wxDefaultSize, 0 );
31 m_textCtrlDiameter =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
38 m_staticTextColor =
new wxStaticText(
this, wxID_ANY,
_(
"Color:"), wxDefaultPosition, wxDefaultSize, 0 );
42 m_panel1 =
new wxPanel(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_SIMPLE|wxTAB_TRAVERSAL );
44 bSizer21 =
new wxBoxSizer( wxVERTICAL );
47 bSizer21->Add(
m_colorSwatch, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_CENTER_HORIZONTAL, 5 );
53 fgSizer2->Add(
m_panel1, 0, wxALIGN_CENTER_VERTICAL, 5 );
56 fgSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
59 bSizer2->Add( fgSizer2, 1, wxALL|wxEXPAND, 10 );
62 bMargins =
new wxBoxSizer( wxVERTICAL );
64 m_helpLabel1 =
new wxStaticText(
this, wxID_ANY,
_(
"Set diameter to 0 to use schematic's junction dot size."), wxDefaultPosition, wxDefaultSize, 0 );
68 m_helpLabel2 =
new wxStaticText(
this, wxID_ANY,
_(
"Clear color to use Schematic Editor colors."), wxDefaultPosition, wxDefaultSize, 0 );
73 bSizer2->Add( bMargins, 0, wxEXPAND|wxRIGHT|wxLEFT, 10 );
84 bSizer2->Add(
m_sdbSizer, 0, wxBOTTOM|wxEXPAND|wxTOP, 5 );
87 this->SetSizer( bSizer2 );
91 this->Centre( wxBOTH );