percentages work differently in browsers vs Spark/MX. They don't cover the unconstrained area, just the entire container
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c952d228 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c952d228 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c952d228 Branch: refs/heads/develop Commit: c952d228889823a936620d5afb5bbd0ddb7c052c Parents: 9160b52 Author: Alex Harui <[email protected]> Authored: Mon Dec 22 09:57:22 2014 -0800 Committer: Alex Harui <[email protected]> Committed: Mon Dec 22 09:57:22 2014 -0800 ---------------------------------------------------------------------- .../FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c952d228/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml ---------------------------------------------------------------------- diff --git a/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml b/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml index bd2fce0..ad0609f 100755 --- a/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml +++ b/examples/FlexJSStore/src/productsView/ProductCatalogThumbnail.mxml @@ -156,9 +156,9 @@ limitations under the License. width.x2cols="60" height.x2cols="60" source="{product.image}" /> - <basic:VContainer id="descr" width="100%" height="100%" > + <basic:VContainer id="descr" height="100%" > <basic:style> - <basic:SimpleCSSStyles paddingTop="0" /> <!-- gap="0" --> + <basic:SimpleCSSStyles paddingTop="0" left="50" right="0" /> <!-- gap="0" --> </basic:style> <basic:Label text="{product.featureString}" width="80" height="48" /> <basic:Label text="{cf.format(product.price)}" style="fontWeight:bold"/>
