+ wxBoxSizer* itemBoxSizer68 = new wxBoxSizer(wxHORIZONTAL);
+ itemFlexGridSizer62->Add(itemBoxSizer68, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
+
+ m_top = new wxTextCtrl( itemRichTextDialogPage1, ID_RICHTEXT_TOP, wxEmptyString, wxDefaultPosition, wxSize(65, -1), 0 );
+ m_top->SetMaxLength(10);
+ m_top->SetHelpText(_("The top position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_top->SetToolTip(_("The top position."));
+ itemBoxSizer68->Add(m_top, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+
+ wxArrayString m_unitsTopStrings;
+ m_unitsTopStrings.Add(_("px"));
+ m_unitsTopStrings.Add(_("cm"));
+ m_unitsTopStrings.Add(_("percent"));
+ m_unitsTop = new wxComboBox( itemRichTextDialogPage1, ID_RICHTEXT_TOP_UNITS, _("px"), wxDefaultPosition, wxSize(60, -1), m_unitsTopStrings, wxCB_READONLY );
+ m_unitsTop->SetStringSelection(_("px"));
+ m_unitsTop->SetHelpText(_("Units for the top position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_unitsTop->SetToolTip(_("Units for the top position."));
+ itemBoxSizer68->Add(m_unitsTop, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
+
+ m_positionRightCheckbox = new wxCheckBox( itemRichTextDialogPage1, ID_RICHTEXT_RIGHT_CHECKBOX, _("&Right:"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_positionRightCheckbox->SetValue(false);
+ m_positionRightCheckbox->SetHelpText(_("The right position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_positionRightCheckbox->SetToolTip(_("The right position."));
+ itemFlexGridSizer62->Add(m_positionRightCheckbox, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+
+ wxBoxSizer* itemBoxSizer72 = new wxBoxSizer(wxHORIZONTAL);
+ itemFlexGridSizer62->Add(itemBoxSizer72, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
+
+ m_right = new wxTextCtrl( itemRichTextDialogPage1, ID_RICHTEXT_RIGHT, wxEmptyString, wxDefaultPosition, wxSize(65, -1), 0 );
+ m_right->SetMaxLength(10);
+ m_right->SetHelpText(_("The right position."));
+ if (wxRichTextSizePage::ShowToolTips())
+ m_right->SetToolTip(_("The right position."));
+ itemBoxSizer72->Add(m_right, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+
+ wxArrayString m_unitsRightStrings;
+ m_unitsRightStrings.Add(_("px"));
+ m_unitsRightStrings.Add(_("cm"));
+ m_unitsRightStrings.Add(_("percent"));
+ m_unitsRight = new wxComboBox( itemRichTextDialogPage1, ID_RICHTEXT_RIGHT_UNITS, _("px"), wxDefaultPosition, wxSize(60, -1), m_unitsRightStrings, wxCB_READONLY );
+ m_unitsRight->SetStringSelection(_("px"));
+ m_unitsRight->SetHelpText(_("Units for the right position."));