- itemFlexGridSizer22->Add(itemBoxSizer30, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);
-
- m_indentRight = new wxTextCtrl( itemPanel1, ID_RICHTEXTINDENTSSPACINGPAGE_INDENT_RIGHT, _T(""), wxDefaultPosition, wxSize(50, -1), 0 );
- itemBoxSizer30->Add(m_indentRight, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
+ itemFlexGridSizer22->Add(itemBoxSizer30, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
+
+ m_indentRight = new wxTextCtrl( itemRichTextDialogPage1, ID_RICHTEXTINDENTSSPACINGPAGE_INDENT_RIGHT, wxEmptyString, wxDefaultPosition, wxSize(50, -1), 0 );
+ m_indentRight->SetHelpText(_("The right indent."));
+ if (wxRichTextIndentsSpacingPage::ShowToolTips())
+ m_indentRight->SetToolTip(_("The right indent."));
+ itemBoxSizer30->Add(m_indentRight, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5);
+
+ wxStaticText* itemStaticText32 = new wxStaticText( itemRichTextDialogPage1, wxID_STATIC, _("&Outline level:"), wxDefaultPosition, wxDefaultSize, 0 );
+ itemFlexGridSizer22->Add(itemStaticText32, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
+
+ wxArrayString m_outlineLevelCtrlStrings;
+ m_outlineLevelCtrlStrings.Add(_("Normal"));
+ m_outlineLevelCtrlStrings.Add(_("1"));
+ m_outlineLevelCtrlStrings.Add(_("2"));
+ m_outlineLevelCtrlStrings.Add(_("3"));
+ m_outlineLevelCtrlStrings.Add(_("4"));
+ m_outlineLevelCtrlStrings.Add(_("5"));
+ m_outlineLevelCtrlStrings.Add(_("6"));
+ m_outlineLevelCtrlStrings.Add(_("7"));
+ m_outlineLevelCtrlStrings.Add(_("8"));
+ m_outlineLevelCtrlStrings.Add(_("9"));
+ m_outlineLevelCtrl = new wxComboBox( itemRichTextDialogPage1, ID_RICHTEXTINDENTSSPACINGPAGE_OUTLINELEVEL, _("Normal"), wxDefaultPosition, wxSize(90, -1), m_outlineLevelCtrlStrings, wxCB_READONLY );
+ m_outlineLevelCtrl->SetStringSelection(_("Normal"));
+ m_outlineLevelCtrl->SetHelpText(_("The outline level."));
+ if (wxRichTextIndentsSpacingPage::ShowToolTips())
+ m_outlineLevelCtrl->SetToolTip(_("The outline level."));
+ itemFlexGridSizer22->Add(m_outlineLevelCtrl, 1, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);