flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject [21/38] git commit: [flex-asjs] [refs/heads/feature/fontawesome] - Use CustomMenuItemRenderer in example
Date Wed, 04 Jan 2017 02:19:03 GMT
Use CustomMenuItemRenderer in example


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1ac69510
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1ac69510
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1ac69510

Branch: refs/heads/feature/fontawesome
Commit: 1ac6951035ce67524a5b19dcb5cba9a00dae159e
Parents: e5f88f4
Author: piotrz <piotrz@apache.org>
Authored: Mon Jan 2 08:50:37 2017 +0100
Committer: piotrz <piotrz@apache.org>
Committed: Mon Jan 2 08:50:37 2017 +0100

----------------------------------------------------------------------
 examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml | 4 ++--
 examples/flexjs/MDLExample/src/main/resources/mdl-styles.css | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1ac69510/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml b/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml
index e9f668d..5527d73 100644
--- a/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml
@@ -64,7 +64,7 @@ limitations under the License.
             <mdl:NavigationLink text="Styles" href="https://getmdl.io/styles/index.html"/>
             <mdl:NavigationLink text="Customize" href="https://getmdl.io/customize/index.html"/>
             <mdl:NavigationLink text="Showcase" href="https://getmdl.io/showcase/index.html"/>
-            <mdl:NavigationLink text="FAQ" href="https://getmdl.io/faq/index.html"/>
+             <mdl:NavigationLink text="FAQ" href="https://getmdl.io/faq/index.html"/>
         </mdl:Navigation>
     </mdl:Drawer>
     
@@ -125,7 +125,7 @@ limitations under the License.
             </mdl:Button>
             
             <mdl:Menu dataMdlFor="menu_btn" ripple="true" bottom="true" left="false"
-                      labelField="label">
+                      labelField="label" className="customMenuItemRenderer">
                 <mdl:beads>
                     <js:ConstantBinding
                             sourceID="menuModel"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1ac69510/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
index 483146b..6dd7267 100644
--- a/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
+++ b/examples/flexjs/MDLExample/src/main/resources/mdl-styles.css
@@ -73,7 +73,7 @@ js|Image
     IItemRenderer: ClassReference("itemRenderers.AvatarAndActionThreeLineListItemRenderer");
 }
 
-.menuItemRenderer
+.customMenuItemRenderer
 {
     IItemRenderer: ClassReference("itemRenderers.CustomMenuItemRenderer");
 }


Mime
View raw message