Commit 813efb77 authored by jean-pierre charras's avatar jean-pierre charras
Browse files

Smal change in dialog.

parent 2a4d0bad
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -149,16 +149,16 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP(
	int m_FieldHJustifyCtrlNChoices = sizeof( m_FieldHJustifyCtrlChoices ) / sizeof( wxString );
	m_FieldHJustifyCtrl = new wxRadioBox( this, wxID_ANY, _("Horiz. Justify"), wxDefaultPosition, wxDefaultSize, m_FieldHJustifyCtrlNChoices, m_FieldHJustifyCtrlChoices, 1, wxRA_SPECIFY_COLS );
	m_FieldHJustifyCtrl->SetSelection( 2 );
	bSizerJustification->Add( m_FieldHJustifyCtrl, 1, wxRIGHT|wxLEFT, 5 );
	bSizerJustification->Add( m_FieldHJustifyCtrl, 1, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
	
	wxString m_FieldVJustifyCtrlChoices[] = { _("Bottom"), _("Center"), _("Top") };
	int m_FieldVJustifyCtrlNChoices = sizeof( m_FieldVJustifyCtrlChoices ) / sizeof( wxString );
	m_FieldVJustifyCtrl = new wxRadioBox( this, wxID_ANY, _("Vert. Justify"), wxDefaultPosition, wxDefaultSize, m_FieldVJustifyCtrlNChoices, m_FieldVJustifyCtrlChoices, 1, wxRA_SPECIFY_COLS );
	m_FieldVJustifyCtrl->SetSelection( 2 );
	bSizerJustification->Add( m_FieldVJustifyCtrl, 1, wxRIGHT|wxLEFT, 5 );
	bSizerJustification->Add( m_FieldVJustifyCtrl, 1, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
	
	
	fieldEditBoxSizer->Add( bSizerJustification, 0, wxEXPAND|wxBOTTOM, 5 );
	fieldEditBoxSizer->Add( bSizerJustification, 1, wxEXPAND|wxBOTTOM, 5 );
	
	wxBoxSizer* bSizerStyle;
	bSizerStyle = new wxBoxSizer( wxHORIZONTAL );
+3 −3
Original line number Diff line number Diff line
@@ -1774,7 +1774,7 @@
                                        <object class="sizeritem" expanded="1">
                                            <property name="border">5</property>
                                            <property name="flag">wxEXPAND|wxBOTTOM</property>
                                            <property name="proportion">0</property>
                                            <property name="proportion">1</property>
                                            <object class="wxBoxSizer" expanded="1">
                                                <property name="minimum_size"></property>
                                                <property name="name">bSizerJustification</property>
@@ -1782,7 +1782,7 @@
                                                <property name="permission">none</property>
                                                <object class="sizeritem" expanded="0">
                                                    <property name="border">5</property>
                                                    <property name="flag">wxRIGHT|wxLEFT</property>
                                                    <property name="flag">wxBOTTOM|wxRIGHT|wxLEFT</property>
                                                    <property name="proportion">1</property>
                                                    <object class="wxRadioBox" expanded="0">
                                                        <property name="BottomDockable">1</property>
@@ -1872,7 +1872,7 @@
                                                </object>
                                                <object class="sizeritem" expanded="0">
                                                    <property name="border">5</property>
                                                    <property name="flag">wxRIGHT|wxLEFT</property>
                                                    <property name="flag">wxBOTTOM|wxRIGHT|wxLEFT</property>
                                                    <property name="proportion">1</property>
                                                    <object class="wxRadioBox" expanded="0">
                                                        <property name="BottomDockable">1</property>