X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4b7035be412ce7d990b2ef0d0e81b2d1168ea8e..f92099657f465d782a8e32444d59f8ebdbdce182:/samples/xrc/rc/controls.xrc diff --git a/samples/xrc/rc/controls.xrc b/samples/xrc/rc/controls.xrc index 7ac11defb6..c0a2edf37a 100644 --- a/samples/xrc/rc/controls.xrc +++ b/samples/xrc/rc/controls.xrc @@ -19,226 +19,108 @@ wxGROW|wxALIGN_CENTER_VERTICAL|wxALL 5 - - 1 + 550,250 - - - - 350,280 - - - - 0 - - 200,180 - - - - - - 1 - - - - 2 - - 200,180 - - - - - - 1 - - 200,180 - - - - - - - - + + + + 2 - 0 + 1 0 0 0,1 - 0,1 + 0 + - wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + wxALIGN_CENTRE|wxALL 5 - - + + + - wxALIGN_CENTER_VERTICAL|wxALL + wxALIGN_CENTRE|wxALL 5 - 300,60 - - - 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 - - - - Custom Class Example - custclas.xpm - Embed your own custom classes into an XRC - - - Platform Specific Example - platform.xpm - Customize parts of an interface for a desired platform - - - wxArtProvider Example - artprov.xpm - Use wxArtProvider to insert desired icons at runtime - - - Variable Expansion Example - variable.xpm - Replace variables in the XRC file at runtime - - - - Just - a combobox - in the toolbar - - - - - Owner Drawn - combobox - in the toolbar - - + + throbber.gif + stop.xpm + + + + + + + + + + wxHORIZONTAL + - wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL - 5 - - + wxEXPAND + + Welcome to banner demo page! + This is a default wxLEFT banner with some text.\nThe banner on the top uses a bitmap. + - wxALIGN_CENTER_VERTICAL|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 - - - 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 - - - Platform Specific Example - platform.xpm - Customize parts of an interface for a desired platform - - - wxArtProvider Example - artprov.xpm - Use wxArtProvider to insert desired icons at runtime - - - Variable Expansion Example - variable.xpm - Replace variables in the XRC file at runtime + wxEXPAND|wxLEFT|wxRIGHT + + 15 + + wxVERTICAL + + + wxEXPAND + + wxTOP + wxbanner.gif + yellow + + Tip: + You can also use text\n and bitmap together. + - - - Just - a combobox - in the toolbar - + + + - - - Owner Drawn - combobox - in the toolbar - + + + wxEXPAND + + wxBOTTOM + A word of advice: + You probably shouldn't use banners\non all four sides at once. + - - - - - - - - - 1 - 0 - 0 - 0 - 0 - 0 - wxALIGN_CENTRE|wxALL - 5 - - controls.xpm + wxEXPAND + + wxRIGHT + Custom Banner + You can change the gradient colours. + #7f7f7f + #ffffff - + + - 2 + 4 0 0 0 @@ -273,10 +155,39 @@ + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxALIGN_CENTRE|wxALL + 5 + + controls.xpm + + + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxALIGN_CENTRE|wxALL + 5 + + + Whatever it might be + + - + @@ -296,7 +207,7 @@ - + @@ -324,7 +235,7 @@ - + @@ -352,7 +263,7 @@ - + @@ -380,7 +291,56 @@ - + + + + + + 1 + 1 + 0 + 0 + 0 + 0 + + + wxGROW|wxALL + 5 + + + + 0 + + + + 1 + 1 + 0 + 0 + 0 + 0 + + + wxALIGN_CENTRE|wxALL + 5 + + + + + + + + + + + + + + + @@ -414,27 +374,27 @@ 2 - This is a - basicdlg.xpm - + This is a + basicdlg.xpm + - read-only - derivdlg.xpm - + read-only + derivdlg.xpm + - wxBitmapComboBox - uncenter.xpm - + wxBitmapComboBox + uncenter.xpm + - control - custclas.xpm - + control + custclas.xpm + - + @@ -481,16 +441,26 @@ - - + + - 1 - 0 - 0 - 0 - 0 - 0 + 2 + 1 + 1 + + wxALIGN_CENTRE|wxALL + + + + + + wxALIGN_CENTRE|wxALL + + + + + wxALIGN_CENTRE|wxALL 5 @@ -498,10 +468,17 @@ 200,200 + + wxEXPAND|wxALL + 5 + + Text files (*.txt) + + - + @@ -530,7 +507,7 @@ - + @@ -558,7 +535,7 @@ - + @@ -586,28 +563,80 @@ - + - - 1 - 0 - 0 - 0 - 0 - 0 + wxALIGN_CENTER|wxALL 5 220,160 - + + + 16,16 + + + + + + + + + Name + 105 + 0 + + + Weight + wxLIST_FORMAT_RIGHT + 105 + 1 + + + + + + wxALIGN_CENTER|wxALL + 5 + + 220,160 + + + Information + + + + Question? + + + + + + wxALIGN_CENTER|wxALL + 5 + + 220,160 + + + 20,20 + + + + + Information + 0 + + + Question? + 1 + - + @@ -628,7 +657,7 @@ - + @@ -656,7 +685,7 @@ - + @@ -684,7 +713,7 @@ - + @@ -716,7 +745,52 @@ - + + + + + + + + + + derivdlg.xpm + + + + basicdlg.xpm + + + + custclas.xpm + + + + + + + + + + + + derivdlg.xpm + + + basicdlg.xpm + + + custclas.xpm + + + artprov.xpm + + + + + + + @@ -740,7 +814,7 @@ - + @@ -787,7 +861,7 @@ - + @@ -809,7 +883,7 @@ - + @@ -825,13 +899,14 @@ 100,-1 100 - 0 + 17 + 16 - + @@ -845,13 +920,13 @@ wxALIGN_CENTRE|wxALL 5 - appicon.xpm + stop.xpm - + @@ -872,7 +947,7 @@ - + @@ -901,27 +976,72 @@ - + + + 12 + - 1 + 2 0 0 0 - 0 - 0 + 0,1 + 0,1,2 - wxALIGN_CENTRE|wxALL + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL|wxALL + 5 + + + + + + wxALIGN_LEFT|wxALIGN_CENTRE_VERTICAL + 5 + + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL|wxALL + 5 + + + + + + wxALIGN_LEFT|wxALIGN_CENTRE_VERTICAL + 5 + + + + bold + + + + + wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL|wxALL + 5 + + + + + + wxALIGN_LEFT|wxALIGN_CENTRE_VERTICAL 5 + + 1 + bold + - + @@ -996,7 +1116,235 @@ - + + + + + + 2 + 0 + 0 + 0 + 1 + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxEXPAND|wxALL + 5 + + + 2,2 + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + 1 + + + + + 1 + + + + + + + Just + a combobox + in the toolbar + + + + + Owner Drawn + combobox + in the toolbar + + + + + + wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL + 5 + + + + + + wxEXPAND|wxALL + 5 + + + #bbbbff + 2,2 + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + 1 + + + + + 1 + + + + + + + Just + a combobox + in the toolbar + + + + + Owner Drawn + combobox + in the toolbar + + + + + + + + + + + + + 350,280 + + + + + + + + 0 + + + + + + + 1 + + + + + + + 2 + + + + + + + + + + + 350,280 + + + 16,16 + + + + + + + + 0 + 0 + 1 + + 200,180 + + + + + + 1 + 1 + 1 + + + + 2 + 2 + + 200,180 + + + + + + 1 + 3 + + 200,180 + + + + + + + @@ -1018,7 +1366,7 @@ - + @@ -1102,87 +1450,7 @@ - - - - - 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 - - - - - - - - - - - - - - - + @@ -1191,7 +1459,7 @@ lay them out using wxSizers, absolute positioning, everything you like! 0 0 0 - 0,1,2,3,4,5,6 + 0,1,2,3,4,5 wxALIGN_CENTRE|wxALL 5 @@ -1216,8 +1484,8 @@ lay them out using wxSizers, absolute positioning, everything you like! wxALIGN_CENTRE|wxALL 5 - - + + @@ -1227,13 +1495,6 @@ lay them out using wxSizers, absolute positioning, everything you like! - - wxALIGN_CENTRE|wxALL - 5 - - - - wxALIGN_CENTRE|wxALL 5