X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a62debb2cdfb47088206ca30fea3a392a239923..4d9d127f45d6c9af714da5b84081d01a2f15affe:/samples/xrc/rc/controls.xrc diff --git a/samples/xrc/rc/controls.xrc b/samples/xrc/rc/controls.xrc index 707441abc5..e5faea49f6 100644 --- a/samples/xrc/rc/controls.xrc +++ b/samples/xrc/rc/controls.xrc @@ -1,10 +1,13 @@ + + Controls Example + wxDIALOG_EX_CONTEXTHELP 1 1 @@ -18,7 +21,7 @@ 5 1 - 550,200 + 550,250 @@ -62,8 +65,7 @@ 0 0 0 - 0,1 - 0,1 + 1 wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL 5 @@ -72,51 +74,60 @@ - wxALIGN_CENTER_VERTICAL|wxALL + wxEXPAND|wxALL 5 2,2 - - Non-Derived Dialog Example - basicdlg.xpm - The basic instance of wxDialog loaded via XRC - - - Derived Dialog Example - derivdlg.xpm - The most important example: load an XRC for a derived dialog + + + - - Controls Example - controls.xpm - A notebook displaying all the wxWidgets controls + + + + + + + + + + + + + - - Uncentered Example - uncenter.xpm - Disable autocentering of a dialog on its parent + + + 1 + + - - - Custom Class Example - custclas.xpm - Embed your own custom classes into an XRC + + + 1 + + - - Platform Specific Example - platform.xpm - Customize parts of an interface for a desired platform + + 1 + + - - wxArtProvider Example - artprov.xpm - Use wxArtProvider to insert desired icons at runtime + + + + Just + a combobox + in the toolbar + - - Variable Expansion Example - variable.xpm - Replace variables in the XRC file at runtime + + + Owner Drawn + combobox + in the toolbar + @@ -128,52 +139,61 @@ - wxALIGN_CENTER_VERTICAL|wxALL + wxEXPAND|wxALL 5 #bbbbff 2,2 - - Non-Derived Dialog Example - basicdlg.xpm - The basic instance of wxDialog loaded via XRC + + + - - Derived Dialog Example - derivdlg.xpm - The most important example: load an XRC for a derived dialog + + + + + + + + + + + + + - - Controls Example - controls.xpm - A notebook displaying all the wxWidgets controls + + + 1 + + - - Uncentered Example - uncenter.xpm - Disable autocentering of a dialog on its parent - - - - Custom Class Example - custclas.xpm - Embed your own custom classes into an XRC + + + 1 + + - - Platform Specific Example - platform.xpm - Customize parts of an interface for a desired platform + + 1 + + - - wxArtProvider Example - artprov.xpm - Use wxArtProvider to insert desired icons at runtime + + + + Just + a combobox + in the toolbar + - - Variable Expansion Example - variable.xpm - Replace variables in the XRC file at runtime + + + Owner Drawn + combobox + in the toolbar + @@ -181,7 +201,7 @@ - + @@ -374,6 +394,31 @@ + + wxALIGN_TOP|wxALIGN_CENTRE_HORIZONTAL|wxALL + 5 + + 200,-1 + + 2 + + This is a + basicdlg.xpm + + + read-only + derivdlg.xpm + + + wxBitmapComboBox + uncenter.xpm + + + control + custclas.xpm + + + @@ -425,15 +470,25 @@ - + - 1 - 0 - 0 - 0 - 0 - 0 + 2 + 1 + 1 + + wxALIGN_CENTRE|wxALL + + + + + + wxALIGN_CENTRE|wxALL + + + + + wxALIGN_CENTRE|wxALL 5 @@ -441,6 +496,13 @@ 200,200 + + wxEXPAND|wxALL + 5 + + Text files (*.txt) + + @@ -466,7 +528,7 @@ I dream things that never were, and say why not"</i> <p><pre>Fixed width for code snippets.</pre> <p>Horizontal rules to organize sections: <hr> - <p>A wxImage is worth a thousand words and can be also used. + <p>A wxImage is worth a thousand words and can be also used. @@ -502,8 +564,8 @@ - - + + 1 0 @@ -511,12 +573,81 @@ 0 0 0 + + wxALIGN_CENTER|wxALL + 5 + + 250,160 + + + <b>Bold</b> Milk + <i>Rainbow <font color="red">P</font><font color="blue">i</font><font color="yellow">z</font><font color="green">z</font><font color="purple">a</font></i> + <tt>Plain bread</tt> + <font color="orange" size="+1">Orange juice</font> + Paper towels + + + + + + + + + + wxALIGN_CENTER|wxALL 5 220,160 - + + + Name + 150 + + + Weight + wxLIST_FORMAT_RIGHT + 50 + + + + + + wxALIGN_CENTER|wxALL + 5 + + 220,160 + + + Information + + + + Question? + + + + + + wxALIGN_CENTER|wxALL + 5 + + 220,160 + + + 20,20 + + + + + Information + 0 + + + Question? + 1 + @@ -618,11 +749,13 @@ 1 0 - Power 108 - WMMS 100.7 - Energy 98.3 - CHUM FM + Power 108 + Power 0 + WMMS 100.7 + Energy 98.3 + CHUM FM 92FM + @@ -891,6 +1024,21 @@ "So many pretty widgets" said Pooh, said he. "So many pretty widgets", said Pooh. + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxALIGN_CENTER_VERTICAL|wxALL + 5 + + 180,-1 + true love + + @@ -915,6 +1063,171 @@ + + + + + + 2 + 0 + 10 + 10 + 0,1 + 0,1,2,3 + + wxALIGN_CENTRE|wxALL + 5 + + + + + + wxGROW|wxALL + + 5 + + #00ff00 + + + + + wxALIGN_CENTRE|wxALL + 5 + + + + + + wxGROW|wxALL + + 5 + + Here goes a message + + *.png + + + + + wxALIGN_CENTRE|wxALL + 5 + + + + + + wxGROW|wxALL + + 5 + + + + Here goes a message + + + + wxALIGN_CENTRE|wxALL + 5 + + + + + + wxGROW|wxALL + + 5 + + + + 20 + wxSYS_DEFAULT_GUI_FONT + + + + + + + + + + + + 2 + 1 + 0 + 0 + 0,1 + 0 + + + wxALIGN_CENTRE|wxALL + 5 + + + + + + + wxALIGN_CENTRE|wxALL + 5 + + throbber.gif + stop.xpm + + + + + + + + + + + + 1 + 1 + 0 + 0 + 0 + 0 + + + wxGROW|wxALL + 5 + + + + 0 + + + + 1 + 1 + 0 + 0 + 0 + 0 + + + wxALIGN_CENTRE|wxALL + 5 + + + + + + + + + + + + + + @@ -984,6 +1297,7 @@ 5 + 1