]> git.saurik.com Git - wxWidgets.git/blob - samples/xrc/rc/resource.xrc
Don't enter an infinite loop if a spacer with min size of -1 is used.
[wxWidgets.git] / samples / xrc / rc / resource.xrc
1 <?xml version="1.0"?>
2 <resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.3.0.1">
3 <object class="wxMenuBar" name="mainmenu">
4 <style>wxMB_DOCKABLE</style>
5 <object class="wxMenu" name="menu_file">
6 <label>_File</label>
7 <style>wxMENU_TEAROFF</style>
8 <object class="wxMenuItem" name="menu_about">
9 <label>_About...</label>
10 <bitmap>filesave.gif</bitmap>
11 </object>
12 <object class="separator"/>
13 <object class="wxMenuItem" name="menu_dlg1">
14 <label>Dialog 1</label>
15 </object>
16 <object class="wxMenuItem" name="menu_dlg2">
17 <label>Dialog 2</label>
18 </object>
19 <object class="separator"/>
20 <object class="wxMenuItem" name="menu_quit">
21 <label>E_xit\tAlt-X</label>
22 </object>
23 </object>
24 </object>
25 <object class="wxToolBar" name="toolbar">
26 <style>wxTB_FLAT|wxTB_DOCKABLE</style>
27 <margins>2,2</margins>
28 <object class="tool" name="menu_open">
29 <bitmap>fileopen.gif</bitmap>
30 <tooltip>Open catalog</tooltip>
31 </object>
32 <object class="tool" name="menu_save">
33 <bitmap>filesave.gif</bitmap>
34 <tooltip>Save catalog</tooltip>
35 </object>
36 <object class="tool" name="menu_update">
37 <bitmap>update.gif</bitmap>
38 <tooltip>Update catalog - synchronize it with sources</tooltip>
39 </object>
40 <separator/>
41 <object class="tool" name="menu_quotes">
42 <bitmap>quotes.gif</bitmap>
43 <toggle>1</toggle>
44 <tooltip>Display quotes around the string?</tooltip>
45 </object>
46 <object class="separator"/>
47 <object class="tool" name="menu_fuzzy">
48 <bitmap>fuzzy.gif</bitmap>
49 <tooltip>Toggled if selected string is fuzzy translation</tooltip>
50 <toggle>1</toggle>
51 </object>
52 </object>
53 <object class="wxDialog" name="dlg1">
54 <object class="wxBoxSizer">
55 <object class="sizeritem">
56 <object class="wxBitmapButton">
57 <bitmap>fuzzy.gif</bitmap>
58 <focus>fileopen.gif</focus>
59 </object>
60 </object>
61 <object class="sizeritem">
62 <object class="wxPanel">
63 <object class="wxStaticText">
64 <label>fdgdfgdfgdfg</label>
65 </object>
66 <style>wxSUNKEN_BORDER</style>
67 </object>
68 <flag>wxALIGN_CENTER</flag>
69 </object>
70 <object class="sizeritem">
71 <object class="wxButton">
72 <label>Buttonek</label>
73 </object>
74 <border>10d</border>
75 <flag>wxALL</flag>
76 </object>
77 <object class="sizeritem">
78 <object class="wxHtmlWindow">
79 <htmlcode>&lt;h1&gt;Hi,&lt;/h1&gt;man</htmlcode>
80 <size>100,45d</size>
81 </object>
82 </object>
83 <object class="sizeritem">
84 <object class="wxNotebook">
85 <object class="notebookpage">
86 <object class="wxPanel">
87 <object class="wxBoxSizer">
88 <object class="sizeritem">
89 <object class="wxHtmlWindow">
90 <htmlcode>Hello, we are inside a &lt;u&gt;NOTEBOOK&lt;/u&gt;...</htmlcode>
91 <size>50,50d</size>
92 </object>
93 <option>1</option>
94 </object>
95 </object>
96 </object>
97 <label>Page</label>
98 </object>
99 <object class="notebookpage">
100 <object class="wxPanel">
101 <object class="wxBoxSizer">
102 <object class="sizeritem">
103 <object class="wxHtmlWindow">
104 <htmlcode>Hello, we are inside a &lt;u&gt;NOTEBOOK&lt;/u&gt;...</htmlcode>
105 <size>50,50d</size>
106 </object>
107 </object>
108 </object>
109 </object>
110 <label>Page 2</label>
111 </object>
112 <usenotebooksizer>1</usenotebooksizer>
113 </object>
114 <flag>wxEXPAND</flag>
115 </object>
116 <orient>wxVERTICAL</orient>
117 </object>
118 </object>
119 <object class="wxDialog" name="dlg2">
120 <object class="wxBoxSizer">
121 <orient>wxVERTICAL</orient>
122 <object class="sizeritem" name="dfgdfg">
123 <object class="wxTextCtrl">
124 <size>200,200d</size>
125 <style>wxTE_MULTILINE|wxSUNKEN_BORDER</style>
126 <value>Hello, this is an ordinary multiline\n textctrl....</value>
127 </object>
128 <option>1</option>
129 <flag>wxEXPAND|wxALL</flag>
130 <border>10</border>
131 </object>
132 <object class="sizeritem">
133 <object class="wxBoxSizer">
134 <object class="sizeritem">
135 <object class="wxButton" name="wxID_OK">
136 <label>Ok</label>
137 <default>1</default>
138 </object>
139 </object>
140 <object class="sizeritem">
141 <object class="wxButton" name="wxID_CANCEL">
142 <label>Cancel</label>
143 </object>
144 <border>10</border>
145 <flag>wxLEFT</flag>
146 </object>
147 </object>
148 <flag>wxLEFT|wxRIGHT|wxBOTTOM|wxALIGN_RIGHT</flag>
149 <border>10</border>
150 </object>
151 </object>
152 <title>Second testing dialog</title>
153 </object>
154 </resource>