Make orientation popups match combobox values.
This commit is contained in:
parent
c5781105ee
commit
672d5ec1aa
|
@ -146,10 +146,10 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
|
|||
fgSizerShapeType->Add( m_PadOrientText, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxLEFT, 3 );
|
||||
|
||||
m_orientation = new wxComboBox( m_panelGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
|
||||
m_orientation->Append( _("0") );
|
||||
m_orientation->Append( _("90") );
|
||||
m_orientation->Append( _("-90") );
|
||||
m_orientation->Append( _("180") );
|
||||
m_orientation->Append( _("0.0") );
|
||||
m_orientation->Append( _("90.0") );
|
||||
m_orientation->Append( _("-90.0") );
|
||||
m_orientation->Append( _("180.0") );
|
||||
fgSizerShapeType->Add( m_orientation, 0, wxALL|wxEXPAND, 5 );
|
||||
|
||||
m_staticText491 = new wxStaticText( m_panelGeneral, wxID_ANY, _("deg"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
|
|
|
@ -2167,7 +2167,7 @@
|
|||
<property name="caption"></property>
|
||||
<property name="caption_visible">1</property>
|
||||
<property name="center_pane">0</property>
|
||||
<property name="choices">"0" "90" "-90" "180"</property>
|
||||
<property name="choices">"0.0" "90.0" "-90.0" "180.0"</property>
|
||||
<property name="close_button">1</property>
|
||||
<property name="context_help"></property>
|
||||
<property name="context_menu">1</property>
|
||||
|
|
|
@ -148,10 +148,10 @@ DIALOG_TEXT_PROPERTIES_BASE::DIALOG_TEXT_PROPERTIES_BASE( wxWindow* parent, wxWi
|
|||
fgSizerSetup->Add( m_OrientLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
|
||||
|
||||
m_OrientCtrl = new wxComboBox( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
|
||||
m_OrientCtrl->Append( _("0") );
|
||||
m_OrientCtrl->Append( _("90") );
|
||||
m_OrientCtrl->Append( _("-90") );
|
||||
m_OrientCtrl->Append( _("180") );
|
||||
m_OrientCtrl->Append( _("0.0") );
|
||||
m_OrientCtrl->Append( _("90.0") );
|
||||
m_OrientCtrl->Append( _("-90.0") );
|
||||
m_OrientCtrl->Append( _("180.0") );
|
||||
fgSizerSetup->Add( m_OrientCtrl, 0, wxEXPAND, 5 );
|
||||
|
||||
m_PositionXLabel = new wxStaticText( this, wxID_ANY, _("Position X:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
|
|
|
@ -2265,7 +2265,7 @@
|
|||
<property name="caption"></property>
|
||||
<property name="caption_visible">1</property>
|
||||
<property name="center_pane">0</property>
|
||||
<property name="choices">"0" "90" "-90" "180"</property>
|
||||
<property name="choices">"0.0" "90.0" "-90.0" "180.0"</property>
|
||||
<property name="close_button">1</property>
|
||||
<property name="context_help"></property>
|
||||
<property name="context_menu">1</property>
|
||||
|
|
Loading…
Reference in New Issue