Fixed small alignment issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,6 +32,7 @@
|
|||||||
|
|
||||||
////@begin control identifiers
|
////@begin control identifiers
|
||||||
#define SYMBOL_WXRICHTEXTTABSPAGE_STYLE wxRESIZE_BORDER|wxTAB_TRAVERSAL
|
#define SYMBOL_WXRICHTEXTTABSPAGE_STYLE wxRESIZE_BORDER|wxTAB_TRAVERSAL
|
||||||
|
#define SYMBOL_WXRICHTEXTTABSPAGE_TITLE _("wxRichTextFontPage")
|
||||||
#define SYMBOL_WXRICHTEXTTABSPAGE_IDNAME ID_RICHTEXTTABSPAGE
|
#define SYMBOL_WXRICHTEXTTABSPAGE_IDNAME ID_RICHTEXTTABSPAGE
|
||||||
#define SYMBOL_WXRICHTEXTTABSPAGE_SIZE wxSize(400, 300)
|
#define SYMBOL_WXRICHTEXTTABSPAGE_SIZE wxSize(400, 300)
|
||||||
#define SYMBOL_WXRICHTEXTTABSPAGE_POSITION wxDefaultPosition
|
#define SYMBOL_WXRICHTEXTTABSPAGE_POSITION wxDefaultPosition
|
||||||
|
@@ -184,6 +184,7 @@
|
|||||||
<string name="PATH variable">"%AUTO%"</string>
|
<string name="PATH variable">"%AUTO%"</string>
|
||||||
<bool name="Suppress source rules">0</bool>
|
<bool name="Suppress source rules">0</bool>
|
||||||
<bool name="Enable makefile generation">1</bool>
|
<bool name="Enable makefile generation">1</bool>
|
||||||
|
<string name="CFG">""</string>
|
||||||
</document>
|
</document>
|
||||||
</document>
|
</document>
|
||||||
</data>
|
</data>
|
||||||
@@ -297,14 +298,6 @@
|
|||||||
<string name="proxy-type">"wbBoxSizerProxy"</string>
|
<string name="proxy-type">"wbBoxSizerProxy"</string>
|
||||||
<string name="proxy-Orientation">"Vertical"</string>
|
<string name="proxy-Orientation">"Vertical"</string>
|
||||||
<string name="proxy-Member variable name">""</string>
|
<string name="proxy-Member variable name">""</string>
|
||||||
<string name="proxy-AlignH">"Centre"</string>
|
|
||||||
<string name="proxy-AlignV">"Centre"</string>
|
|
||||||
<long name="proxy-Stretch factor">0</long>
|
|
||||||
<long name="proxy-Border">5</long>
|
|
||||||
<bool name="proxy-wxLEFT">1</bool>
|
|
||||||
<bool name="proxy-wxRIGHT">1</bool>
|
|
||||||
<bool name="proxy-wxTOP">1</bool>
|
|
||||||
<bool name="proxy-wxBOTTOM">1</bool>
|
|
||||||
<bool name="proxy-wxSHAPED">0</bool>
|
<bool name="proxy-wxSHAPED">0</bool>
|
||||||
<bool name="proxy-wxADJUST_MINSIZE">0</bool>
|
<bool name="proxy-wxADJUST_MINSIZE">0</bool>
|
||||||
<bool name="proxy-wxFIXED_MINSIZE">0</bool>
|
<bool name="proxy-wxFIXED_MINSIZE">0</bool>
|
||||||
@@ -3437,7 +3430,7 @@
|
|||||||
<long name="proxy-Y">-1</long>
|
<long name="proxy-Y">-1</long>
|
||||||
<long name="proxy-Width">-1</long>
|
<long name="proxy-Width">-1</long>
|
||||||
<long name="proxy-Height">-1</long>
|
<long name="proxy-Height">-1</long>
|
||||||
<string name="proxy-AlignH">"Centre"</string>
|
<string name="proxy-AlignH">"Right"</string>
|
||||||
<string name="proxy-AlignV">"Centre"</string>
|
<string name="proxy-AlignV">"Centre"</string>
|
||||||
<long name="proxy-Stretch factor">0</long>
|
<long name="proxy-Stretch factor">0</long>
|
||||||
<long name="proxy-Border">5</long>
|
<long name="proxy-Border">5</long>
|
||||||
@@ -4504,7 +4497,6 @@
|
|||||||
<long name="proxy-Height">300</long>
|
<long name="proxy-Height">300</long>
|
||||||
<bool name="proxy-AUI manager">0</bool>
|
<bool name="proxy-AUI manager">0</bool>
|
||||||
<string name="proxy-Event sources">""</string>
|
<string name="proxy-Event sources">""</string>
|
||||||
<bool name="proxy-wxTHICK_FRAME">0</bool>
|
|
||||||
<document>
|
<document>
|
||||||
<string name="title">"wxBoxSizer V"</string>
|
<string name="title">"wxBoxSizer V"</string>
|
||||||
<string name="type">"dialog-control-document"</string>
|
<string name="type">"dialog-control-document"</string>
|
||||||
@@ -4518,14 +4510,6 @@
|
|||||||
<string name="proxy-type">"wbBoxSizerProxy"</string>
|
<string name="proxy-type">"wbBoxSizerProxy"</string>
|
||||||
<string name="proxy-Orientation">"Vertical"</string>
|
<string name="proxy-Orientation">"Vertical"</string>
|
||||||
<string name="proxy-Member variable name">""</string>
|
<string name="proxy-Member variable name">""</string>
|
||||||
<string name="proxy-AlignH">"Centre"</string>
|
|
||||||
<string name="proxy-AlignV">"Centre"</string>
|
|
||||||
<long name="proxy-Stretch factor">0</long>
|
|
||||||
<long name="proxy-Border">5</long>
|
|
||||||
<bool name="proxy-wxLEFT">1</bool>
|
|
||||||
<bool name="proxy-wxRIGHT">1</bool>
|
|
||||||
<bool name="proxy-wxTOP">1</bool>
|
|
||||||
<bool name="proxy-wxBOTTOM">1</bool>
|
|
||||||
<bool name="proxy-wxSHAPED">0</bool>
|
<bool name="proxy-wxSHAPED">0</bool>
|
||||||
<bool name="proxy-wxADJUST_MINSIZE">0</bool>
|
<bool name="proxy-wxADJUST_MINSIZE">0</bool>
|
||||||
<bool name="proxy-wxFIXED_MINSIZE">0</bool>
|
<bool name="proxy-wxFIXED_MINSIZE">0</bool>
|
||||||
@@ -5008,7 +4992,7 @@
|
|||||||
<long name="proxy-Y">-1</long>
|
<long name="proxy-Y">-1</long>
|
||||||
<long name="proxy-Width">-1</long>
|
<long name="proxy-Width">-1</long>
|
||||||
<long name="proxy-Height">-1</long>
|
<long name="proxy-Height">-1</long>
|
||||||
<string name="proxy-AlignH">"Centre"</string>
|
<string name="proxy-AlignH">"Expand"</string>
|
||||||
<string name="proxy-AlignV">"Centre"</string>
|
<string name="proxy-AlignV">"Centre"</string>
|
||||||
<long name="proxy-Stretch factor">0</long>
|
<long name="proxy-Stretch factor">0</long>
|
||||||
<long name="proxy-Border">5</long>
|
<long name="proxy-Border">5</long>
|
||||||
@@ -5076,7 +5060,7 @@
|
|||||||
<long name="proxy-Y">-1</long>
|
<long name="proxy-Y">-1</long>
|
||||||
<long name="proxy-Width">-1</long>
|
<long name="proxy-Width">-1</long>
|
||||||
<long name="proxy-Height">-1</long>
|
<long name="proxy-Height">-1</long>
|
||||||
<string name="proxy-AlignH">"Centre"</string>
|
<string name="proxy-AlignH">"Expand"</string>
|
||||||
<string name="proxy-AlignV">"Centre"</string>
|
<string name="proxy-AlignV">"Centre"</string>
|
||||||
<long name="proxy-Stretch factor">0</long>
|
<long name="proxy-Stretch factor">0</long>
|
||||||
<long name="proxy-Border">5</long>
|
<long name="proxy-Border">5</long>
|
||||||
@@ -5144,7 +5128,7 @@
|
|||||||
<long name="proxy-Y">-1</long>
|
<long name="proxy-Y">-1</long>
|
||||||
<long name="proxy-Width">-1</long>
|
<long name="proxy-Width">-1</long>
|
||||||
<long name="proxy-Height">-1</long>
|
<long name="proxy-Height">-1</long>
|
||||||
<string name="proxy-AlignH">"Centre"</string>
|
<string name="proxy-AlignH">"Expand"</string>
|
||||||
<string name="proxy-AlignV">"Centre"</string>
|
<string name="proxy-AlignV">"Centre"</string>
|
||||||
<long name="proxy-Stretch factor">0</long>
|
<long name="proxy-Stretch factor">0</long>
|
||||||
<long name="proxy-Border">5</long>
|
<long name="proxy-Border">5</long>
|
||||||
|
@@ -239,7 +239,7 @@ void wxRichTextIndentsSpacingPage::CreateControls()
|
|||||||
itemBoxSizer30->Add(m_indentRight, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
itemBoxSizer30->Add(m_indentRight, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||||
|
|
||||||
wxStaticText* itemStaticText32 = new wxStaticText( itemPanel1, wxID_STATIC, _("&Outline level:"), wxDefaultPosition, wxDefaultSize, 0 );
|
wxStaticText* itemStaticText32 = new wxStaticText( itemPanel1, wxID_STATIC, _("&Outline level:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
itemFlexGridSizer22->Add(itemStaticText32, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
itemFlexGridSizer22->Add(itemStaticText32, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||||
|
|
||||||
wxArrayString m_outlineLevelCtrlStrings;
|
wxArrayString m_outlineLevelCtrlStrings;
|
||||||
m_outlineLevelCtrlStrings.Add(_("Normal"));
|
m_outlineLevelCtrlStrings.Add(_("Normal"));
|
||||||
|
@@ -113,16 +113,15 @@ void wxRichTextTabsPage::CreateControls()
|
|||||||
wxStaticText* itemStaticText6 = new wxStaticText( itemPanel1, wxID_STATIC, _("&Position (tenths of a mm):"), wxDefaultPosition, wxDefaultSize, 0 );
|
wxStaticText* itemStaticText6 = new wxStaticText( itemPanel1, wxID_STATIC, _("&Position (tenths of a mm):"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
itemBoxSizer5->Add(itemStaticText6, 0, wxALIGN_LEFT|wxLEFT|wxRIGHT|wxTOP, 5);
|
itemBoxSizer5->Add(itemStaticText6, 0, wxALIGN_LEFT|wxLEFT|wxRIGHT|wxTOP, 5);
|
||||||
|
|
||||||
m_tabEditCtrl = new wxTextCtrl( itemPanel1, ID_RICHTEXTTABSPAGE_TABEDIT, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
m_tabEditCtrl = new wxTextCtrl( itemPanel1, ID_RICHTEXTTABSPAGE_TABEDIT, _T(""), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
m_tabEditCtrl->SetHelpText(_("The tab position."));
|
m_tabEditCtrl->SetHelpText(_("The tab position."));
|
||||||
if (ShowToolTips())
|
if (wxRichTextTabsPage::ShowToolTips())
|
||||||
m_tabEditCtrl->SetToolTip(_("The tab position."));
|
m_tabEditCtrl->SetToolTip(_("The tab position."));
|
||||||
itemBoxSizer5->Add(m_tabEditCtrl, 0, wxGROW|wxALL, 5);
|
itemBoxSizer5->Add(m_tabEditCtrl, 0, wxGROW|wxALL, 5);
|
||||||
|
|
||||||
wxString m_tabListCtrlStrings[] = {
|
wxArrayString m_tabListCtrlStrings;
|
||||||
_("The tab positions.")
|
m_tabListCtrlStrings.Add(_("The tab positions."));
|
||||||
};
|
m_tabListCtrl = new wxListBox( itemPanel1, ID_RICHTEXTTABSPAGE_TABLIST, wxDefaultPosition, wxSize(80, 200), m_tabListCtrlStrings, wxLB_SINGLE );
|
||||||
m_tabListCtrl = new wxListBox( itemPanel1, ID_RICHTEXTTABSPAGE_TABLIST, wxDefaultPosition, wxSize(80, 200), 1, m_tabListCtrlStrings, wxLB_SINGLE );
|
|
||||||
itemBoxSizer5->Add(m_tabListCtrl, 1, wxGROW|wxLEFT|wxRIGHT|wxBOTTOM, 5);
|
itemBoxSizer5->Add(m_tabListCtrl, 1, wxGROW|wxLEFT|wxRIGHT|wxBOTTOM, 5);
|
||||||
|
|
||||||
itemBoxSizer4->Add(2, 1, 1, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM, 5);
|
itemBoxSizer4->Add(2, 1, 1, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM, 5);
|
||||||
@@ -130,26 +129,26 @@ void wxRichTextTabsPage::CreateControls()
|
|||||||
wxBoxSizer* itemBoxSizer10 = new wxBoxSizer(wxVERTICAL);
|
wxBoxSizer* itemBoxSizer10 = new wxBoxSizer(wxVERTICAL);
|
||||||
itemBoxSizer4->Add(itemBoxSizer10, 0, wxGROW, 5);
|
itemBoxSizer4->Add(itemBoxSizer10, 0, wxGROW, 5);
|
||||||
|
|
||||||
wxStaticText* itemStaticText11 = new wxStaticText( itemPanel1, wxID_STATIC, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
wxStaticText* itemStaticText11 = new wxStaticText( itemPanel1, wxID_STATIC, _T(""), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
itemBoxSizer10->Add(itemStaticText11, 0, wxALIGN_CENTER_HORIZONTAL|wxBOTTOM, 5);
|
itemBoxSizer10->Add(itemStaticText11, 0, wxALIGN_CENTER_HORIZONTAL|wxBOTTOM, 5);
|
||||||
|
|
||||||
wxButton* itemButton12 = new wxButton( itemPanel1, ID_RICHTEXTTABSPAGE_NEW_TAB, _("&New"), wxDefaultPosition, wxDefaultSize, 0 );
|
wxButton* itemButton12 = new wxButton( itemPanel1, ID_RICHTEXTTABSPAGE_NEW_TAB, _("&New"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
itemButton12->SetHelpText(_("Click to create a new tab position."));
|
itemButton12->SetHelpText(_("Click to create a new tab position."));
|
||||||
if (ShowToolTips())
|
if (wxRichTextTabsPage::ShowToolTips())
|
||||||
itemButton12->SetToolTip(_("Click to create a new tab position."));
|
itemButton12->SetToolTip(_("Click to create a new tab position."));
|
||||||
itemBoxSizer10->Add(itemButton12, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
|
itemBoxSizer10->Add(itemButton12, 0, wxGROW|wxALL, 5);
|
||||||
|
|
||||||
wxButton* itemButton13 = new wxButton( itemPanel1, ID_RICHTEXTTABSPAGE_DELETE_TAB, _("&Delete"), wxDefaultPosition, wxDefaultSize, 0 );
|
wxButton* itemButton13 = new wxButton( itemPanel1, ID_RICHTEXTTABSPAGE_DELETE_TAB, _("&Delete"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
itemButton13->SetHelpText(_("Click to delete the selected tab position."));
|
itemButton13->SetHelpText(_("Click to delete the selected tab position."));
|
||||||
if (ShowToolTips())
|
if (wxRichTextTabsPage::ShowToolTips())
|
||||||
itemButton13->SetToolTip(_("Click to delete the selected tab position."));
|
itemButton13->SetToolTip(_("Click to delete the selected tab position."));
|
||||||
itemBoxSizer10->Add(itemButton13, 0, wxALIGN_CENTER_HORIZONTAL|wxLEFT|wxRIGHT|wxBOTTOM, 5);
|
itemBoxSizer10->Add(itemButton13, 0, wxGROW|wxLEFT|wxRIGHT|wxBOTTOM, 5);
|
||||||
|
|
||||||
wxButton* itemButton14 = new wxButton( itemPanel1, ID_RICHTEXTTABSPAGE_DELETE_ALL_TABS, _("Delete A&ll"), wxDefaultPosition, wxDefaultSize, 0 );
|
wxButton* itemButton14 = new wxButton( itemPanel1, ID_RICHTEXTTABSPAGE_DELETE_ALL_TABS, _("Delete A&ll"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
itemButton14->SetHelpText(_("Click to delete all tab positions."));
|
itemButton14->SetHelpText(_("Click to delete all tab positions."));
|
||||||
if (ShowToolTips())
|
if (wxRichTextTabsPage::ShowToolTips())
|
||||||
itemButton14->SetToolTip(_("Click to delete all tab positions."));
|
itemButton14->SetToolTip(_("Click to delete all tab positions."));
|
||||||
itemBoxSizer10->Add(itemButton14, 0, wxALIGN_CENTER_HORIZONTAL|wxLEFT|wxRIGHT|wxBOTTOM, 5);
|
itemBoxSizer10->Add(itemButton14, 0, wxGROW|wxLEFT|wxRIGHT|wxBOTTOM, 5);
|
||||||
|
|
||||||
////@end wxRichTextTabsPage content construction
|
////@end wxRichTextTabsPage content construction
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user