html help : search panel now has more logical order of controls (list of books is after search button, not the last item)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -263,14 +263,6 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id, const wxString& ti
|
|||||||
b2 -> height.AsIs();
|
b2 -> height.AsIs();
|
||||||
m_SearchButton -> SetConstraints(b2);
|
m_SearchButton -> SetConstraints(b2);
|
||||||
|
|
||||||
wxLayoutConstraints *b3 = new wxLayoutConstraints;
|
|
||||||
m_SearchList = new wxListBox(dummy, wxID_HTML_SEARCHLIST, wxDefaultPosition, wxDefaultSize, 0);
|
|
||||||
b3 -> top.Below (m_SearchButton, 10);
|
|
||||||
b3 -> left.SameAs (dummy, wxLeft, 0);
|
|
||||||
b3 -> right.SameAs (dummy, wxRight, 0);
|
|
||||||
b3 -> bottom.SameAs (dummy, wxBottom, 0);
|
|
||||||
m_SearchList -> SetConstraints(b3);
|
|
||||||
|
|
||||||
wxLayoutConstraints *b4 = new wxLayoutConstraints;
|
wxLayoutConstraints *b4 = new wxLayoutConstraints;
|
||||||
m_SearchChoice = new wxChoice(dummy, wxID_HTML_SEARCHCHOICE, wxDefaultPosition,
|
m_SearchChoice = new wxChoice(dummy, wxID_HTML_SEARCHCHOICE, wxDefaultPosition,
|
||||||
wxDefaultSize);
|
wxDefaultSize);
|
||||||
@@ -280,6 +272,14 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id, const wxString& ti
|
|||||||
b4 -> height.AsIs();
|
b4 -> height.AsIs();
|
||||||
m_SearchChoice -> SetConstraints(b4);
|
m_SearchChoice -> SetConstraints(b4);
|
||||||
|
|
||||||
|
wxLayoutConstraints *b3 = new wxLayoutConstraints;
|
||||||
|
m_SearchList = new wxListBox(dummy, wxID_HTML_SEARCHLIST, wxDefaultPosition, wxDefaultSize, 0);
|
||||||
|
b3 -> top.Below (m_SearchButton, 10);
|
||||||
|
b3 -> left.SameAs (dummy, wxLeft, 0);
|
||||||
|
b3 -> right.SameAs (dummy, wxRight, 0);
|
||||||
|
b3 -> bottom.SameAs (dummy, wxBottom, 0);
|
||||||
|
m_SearchList -> SetConstraints(b3);
|
||||||
|
|
||||||
dummy -> SetAutoLayout(TRUE);
|
dummy -> SetAutoLayout(TRUE);
|
||||||
dummy -> Layout();
|
dummy -> Layout();
|
||||||
m_NavigPan -> AddPage(dummy, _("Search"));
|
m_NavigPan -> AddPage(dummy, _("Search"));
|
||||||
|
Reference in New Issue
Block a user