You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/11/10 08:49:43 UTC

[48/50] git commit: [flex-asjs] [refs/heads/develop] - Fix Card example to support images

Fix Card example to support images


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

Branch: refs/heads/develop
Commit: 9633ef5c46cfeef4a253ff0255d6726682aebd88
Parents: 0c0dea7
Author: Carlos Rovira <ca...@apache.org>
Authored: Thu Nov 10 00:30:30 2016 +0100
Committer: Carlos Rovira <ca...@apache.org>
Committed: Thu Nov 10 00:30:30 2016 +0100

----------------------------------------------------------------------
 examples/flexjs/MDLExample/src/main/flex/App.mxml | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9633ef5c/examples/flexjs/MDLExample/src/main/flex/App.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml b/examples/flexjs/MDLExample/src/main/flex/App.mxml
index b77ec2c..48e2ec7 100644
--- a/examples/flexjs/MDLExample/src/main/flex/App.mxml
+++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml
@@ -114,12 +114,9 @@ limitations under the License.
                 </js:VContainer>
 
                 <mdl:Card width="512" shadow="2">
-                    <mdl:CardTitle style="color: #666;height: 176px; background:url('assets/Unknown.jpg') center / cover;">
+                    <mdl:CardTitle style="color: #fff;height: 176px; background:url('assets/Unknown.jpg') center / cover;">
                         <js:H2 text="Welcome" className="mdl-card__title-text"/>
                     </mdl:CardTitle>
-                    <mdl:CardMedia>
-                        <js:Image url="assets/Unknown.jpg"  height="176"/>
-                    </mdl:CardMedia>
                     <mdl:CardSupportingText>
                         <js:MultilineLabel text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sagittis pellentesque lacus eleifend lacinia..."/>
                     </mdl:CardSupportingText>
@@ -127,12 +124,17 @@ limitations under the License.
                         <mdl:Button text="Get Started" ripple="true" colored="true"/>
                     </mdl:CardActions>
                     <mdl:CardMenu>
-                        <mdl:Button icon="true" ripple="true">
+                        <mdl:Button icon="true" ripple="true" style="color: #fff;">
                             <i class="material-icons">share</i>
                         </mdl:Button>
                     </mdl:CardMenu>
                 </mdl:Card>
 
+
+                    <!--<mdl:CardMedia>
+                        <js:Image url="assets/Unknown.jpg"  height="176"/>
+                    </mdl:CardMedia>-->
+
             </js:Form>
 
         </js:View>