+ m_positionLeftCheckbox = new wxCheckBox( itemRichTextDialogPage1, ID_RICHTEXT_LEFT_CHECKBOX, _("&Left:"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_positionLeftCheckbox->SetValue(false);
+ m_positionLeftCheckbox->SetHelpText(_("The left position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_positionLeftCheckbox->SetToolTip(_("The left position."));
+ m_leftSizer->Add(m_positionLeftCheckbox, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+
+ m_leftLabel = new wxStaticText( itemRichTextDialogPage1, wxID_STATIC, _("&Left:"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_leftLabel->Show(false);
+ m_leftSizer->Add(m_leftLabel, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
+
+ wxBoxSizer* itemBoxSizer71 = new wxBoxSizer(wxHORIZONTAL);
+ m_positionGridSizer->Add(itemBoxSizer71, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
+
+ m_left = new wxTextCtrl( itemRichTextDialogPage1, ID_RICHTEXT_LEFT, wxEmptyString, wxDefaultPosition, wxSize(65, -1), 0 );
+ m_left->SetMaxLength(10);
+ m_left->SetHelpText(_("The left position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_left->SetToolTip(_("The left position."));
+ itemBoxSizer71->Add(m_left, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+
+ wxArrayString m_unitsLeftStrings;
+ m_unitsLeftStrings.Add(_("px"));
+ m_unitsLeftStrings.Add(_("cm"));
+ m_unitsLeftStrings.Add(_("percent"));
+ m_unitsLeft = new wxComboBox( itemRichTextDialogPage1, ID_RICHTEXT_LEFT_UNITS, _("px"), wxDefaultPosition, wxSize(60, -1), m_unitsLeftStrings, wxCB_READONLY );
+ m_unitsLeft->SetStringSelection(_("px"));
+ m_unitsLeft->SetHelpText(_("Units for the left position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_unitsLeft->SetToolTip(_("Units for the left position."));
+ itemBoxSizer71->Add(m_unitsLeft, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
+
+ m_topSizer = new wxBoxSizer(wxHORIZONTAL);
+ m_positionGridSizer->Add(m_topSizer, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);
+
+ m_positionTopCheckbox = new wxCheckBox( itemRichTextDialogPage1, ID_RICHTEXT_TOP_CHECKBOX, _("&Top:"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_positionTopCheckbox->SetValue(false);
+ m_positionTopCheckbox->SetHelpText(_("The top position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_positionTopCheckbox->SetToolTip(_("The top position."));
+ m_topSizer->Add(m_positionTopCheckbox, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+
+ m_topLabel = new wxStaticText( itemRichTextDialogPage1, wxID_STATIC, _("&Top:"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_topLabel->Show(false);
+ m_topSizer->Add(m_topLabel, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);