]> git.saurik.com Git - wxWidgets.git/blob - samples/xrc/rc/uncenter.xrc
Fix missing 3rd party builtin libs for static monolithic builds.
[wxWidgets.git] / samples / xrc / rc / uncenter.xrc
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.3.0.1">
4
5 <object class="wxDialog" name="uncentered_dialog">
6 <title>Uncentered Example</title>
7 <object class="wxFlexGridSizer">
8 <cols>1</cols>
9 <rows>0</rows>
10 <vgap>0</vgap>
11 <hgap>0</hgap>
12 <growablecols>0</growablecols>
13 <growablerows>0</growablerows>
14 <object class="sizeritem">
15 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag>
16 <border>5</border>
17 <object class="wxTextCtrl" name="message_textctrl">
18 <size>500,150</size>
19 <style>wxTE_MULTILINE</style>
20 <value>All of the dialogs in the XRC demo, except for this dialog, center themselves automatically on their parent window, since that is what is most commonly needed. The centering for the other dialogs was done automatically simply by including a &lt;centered&gt;1&lt;/centered&gt; as a tag directly under the dialog node.\n\nHowever, there may be some times when you don't want autocentering. If you don't want the dialog centered, just don't use the &lt;centered&gt; tag and the dialog will be placed in the default window position (which is at screen coordinate 0,0 in the upper left corner of the screen). This dialog is an example of when centering is turned off.</value>
21 </object>
22 </object>
23 <object class="sizeritem">
24 <flag>wxALIGN_CENTRE|wxALL</flag>
25 <border>5</border>
26 <object class="wxBoxSizer">
27 <orient>wxHORIZONTAL</orient>
28 <object class="sizeritem">
29 <flag>wxALIGN_CENTRE|wxALL</flag>
30 <border>5</border>
31 <object class="wxButton" name="wxID_OK">
32 <label>OK</label>
33 </object>
34 </object>
35 <object class="sizeritem">
36 <flag>wxALIGN_CENTRE|wxALL</flag>
37 <border>5</border>
38 <object class="wxButton" name="wxID_CANCEL">
39 <label>Cancel</label>
40 </object>
41 </object>
42 </object>
43 </object>
44 </object>
45 </object>
46
47 </resource>