flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pio...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Add divider in MDL CustomMenuItemRenderer
Date Tue, 03 Jan 2017 13:14:07 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 59223444e -> ffd738dce


Add divider in MDL CustomMenuItemRenderer


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

Branch: refs/heads/develop
Commit: ffd738dcea78ea031512a214e6d4e507e82b7604
Parents: 5922344
Author: piotrz <piotrz@apache.org>
Authored: Tue Jan 3 14:14:03 2017 +0100
Committer: piotrz <piotrz@apache.org>
Committed: Tue Jan 3 14:14:03 2017 +0100

----------------------------------------------------------------------
 .../src/main/flex/itemRenderers/CustomMenuItemRenderer.mxml       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ffd738dc/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomMenuItemRenderer.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomMenuItemRenderer.mxml
b/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomMenuItemRenderer.mxml
index c090660..23b8f6a 100644
--- a/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomMenuItemRenderer.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/itemRenderers/CustomMenuItemRenderer.mxml
@@ -19,7 +19,8 @@ limitations under the License.
 -->
 <mdl:MenuItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                       xmlns:mdl="library://ns.apache.org/flexjs/mdl"
-                      xmlns:binding="org.apache.flex.binding.*">
+                      xmlns:binding="org.apache.flex.binding.*"
+                      divider="{menuItem.hasDivider}">
     <mdl:beads>
         <binding:ItemRendererDataBinding />
         <mdl:Disabled disabled="{menuItem.disabled}"/>


Mime
View raw message