You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ti...@apache.org on 2012/01/20 12:35:51 UTC

svn commit: r1233877 - /incubator/flex/whiteboard/tink/navigators/examples/src/MenuBarExamples.mxml

Author: tink
Date: Fri Jan 20 11:35:51 2012
New Revision: 1233877

URL: http://svn.apache.org/viewvc?rev=1233877&view=rev
Log:
Added a little info on the construction of a MenuBar.

Modified:
    incubator/flex/whiteboard/tink/navigators/examples/src/MenuBarExamples.mxml

Modified: incubator/flex/whiteboard/tink/navigators/examples/src/MenuBarExamples.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/tink/navigators/examples/src/MenuBarExamples.mxml?rev=1233877&r1=1233876&r2=1233877&view=diff
==============================================================================
--- incubator/flex/whiteboard/tink/navigators/examples/src/MenuBarExamples.mxml (original)
+++ incubator/flex/whiteboard/tink/navigators/examples/src/MenuBarExamples.mxml Fri Jan 20 11:35:51 2012
@@ -3,6 +3,20 @@
 					   xmlns:s="library://ns.adobe.com/flex/spark" 
 					   xmlns:st="library://ns.tink.ws/flex/spark">
 		
+		<!--
+	
+			The MenuBar is basically a ButtonBar with DropDownList as its itemRenderer (MenuBarItemRenderer).
+	
+			The MenuBarItemRenderer opens on roll over instead of on mouse down.
+	
+			Each MenuBarItemRenderer has its itemRenderer property set to MenuBarItemRenderer, so they can
+	 		be infinitely nested.
+	
+			Via CSS the first level of MenuBarItemRenderer's display their list below them, subsequent lists
+	        display to the right.
+	
+		-->
+	
 		<fx:Library>
 			<fx:Definition name="Divider">
 				<s:Graphic width="15" height="18">