Show "hint" wxTextCtrl attribute in the xrc sample.
Rearrange the contents of the wxTextCtrl page in two columns to make space for the new control. This should have been part of r76629 but was forgotten. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
964352934e
commit
bd0301b05b
@ -1044,7 +1044,7 @@ lay them out using wxSizers, absolute positioning, everything you like!
|
||||
<label>wxTextCtrl</label>
|
||||
<object class="wxPanel" name="textctrl">
|
||||
<object class="wxFlexGridSizer">
|
||||
<cols>2</cols>
|
||||
<cols>4</cols>
|
||||
<rows>0</rows>
|
||||
<vgap>0</vgap>
|
||||
<hgap>0</hgap>
|
||||
@ -1065,6 +1065,21 @@ lay them out using wxSizers, absolute positioning, everything you like!
|
||||
<value>A.A. Milne</value>
|
||||
</object>
|
||||
</object>
|
||||
<object class="sizeritem">
|
||||
<flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
|
||||
<border>5</border>
|
||||
<object class="wxStaticText">
|
||||
<label>With a _hint:</label>
|
||||
</object>
|
||||
</object>
|
||||
<object class="sizeritem">
|
||||
<flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
|
||||
<border>5</border>
|
||||
<object class="wxTextCtrl">
|
||||
<size>180,-1</size>
|
||||
<hint>you@some.whe.re</hint>
|
||||
</object>
|
||||
</object>
|
||||
<object class="sizeritem">
|
||||
<flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
|
||||
<border>5</border>
|
||||
@ -1081,6 +1096,21 @@ lay them out using wxSizers, absolute positioning, everything you like!
|
||||
<value>TooManySecrets</value>
|
||||
</object>
|
||||
</object>
|
||||
<object class="sizeritem">
|
||||
<flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
|
||||
<border>5</border>
|
||||
<object class="wxStaticText" name="controls_textctrl4_statictext">
|
||||
<label>Search for:</label>
|
||||
</object>
|
||||
</object>
|
||||
<object class="sizeritem">
|
||||
<flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
|
||||
<border>5</border>
|
||||
<object class="wxSearchCtrl" name="controls_multiline_searchctrl">
|
||||
<size>180,-1</size>
|
||||
<value>true love</value>
|
||||
</object>
|
||||
</object>
|
||||
<object class="sizeritem">
|
||||
<flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
|
||||
<border>5</border>
|
||||
@ -1097,21 +1127,6 @@ lay them out using wxSizers, absolute positioning, everything you like!
|
||||
<value>"So many pretty widgets" said Pooh, said he. "So many pretty widgets", said Pooh.</value>
|
||||
</object>
|
||||
</object>
|
||||
<object class="sizeritem">
|
||||
<flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
|
||||
<border>5</border>
|
||||
<object class="wxStaticText" name="controls_textctrl4_statictext">
|
||||
<label>Search for:</label>
|
||||
</object>
|
||||
</object>
|
||||
<object class="sizeritem">
|
||||
<flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
|
||||
<border>5</border>
|
||||
<object class="wxSearchCtrl" name="controls_multiline_searchctrl">
|
||||
<size>180,-1</size>
|
||||
<value>true love</value>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
|
Loading…
Reference in New Issue
Block a user