You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/03/18 10:46:20 UTC

[royale-asjs] branch develop updated: Revert "jewel-card: set defaults so Royale knows CSS default config of 100% w and h"

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new d15275f  Revert "jewel-card: set defaults so Royale knows CSS default config of 100% w and h"
d15275f is described below

commit d15275fc894626d526cb58b506f4600cbaabdcec
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed Mar 18 11:44:04 2020 +0100

    Revert "jewel-card: set defaults so Royale knows CSS default config of 100% w and h"
    
    This reverts commit a4b59c6dee6bca192f6e0232087c5521c39418d6.
---
 .../projects/Jewel/src/main/royale/org/apache/royale/jewel/Card.as     | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Card.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Card.as
index 229ad59..3fcf61d 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Card.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Card.as
@@ -49,9 +49,6 @@ package org.apache.royale.jewel
 			// Add basic card styles by default when use Card alone
 			// if Card composes CardPrimaryContent, then remove it for more complex structure and styles
 			className = "simple";
-
-			percentWidth = 100;
-			percentHeight = 100;
 		}
 	}
 }
\ No newline at end of file