flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Ent (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34928) [FlexJS] First view in TabbedViewManager not laid out properly
Date Thu, 10 Sep 2015 19:23:46 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14739418#comment-14739418

Peter Ent commented on FLEX-34928:

This issue should now be fixed with all of the changes that have been added recently. 

Just to be clear, the Image should be in its own View class which extends org.apache.flex.mobile.View.
The image element in this file can be 100% x 100%. This view is then added to the views on
the TabbedViewManager declared in MyInitialView.

Just adding an Image element as a view to TabbedViewManager will cause a runtime error as
a View-class is expected.

> [FlexJS] First view in TabbedViewManager not laid out properly
> --------------------------------------------------------------
>                 Key: FLEX-34928
>                 URL: https://issues.apache.org/jira/browse/FLEX-34928
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.0.2
>            Reporter: Yishay Weiss
>            Assignee: Peter Ent
> 1) Take the MobileTrader example. 
> 2) Add a first view that contains an image set to fill in the screen
>     <myNs:Image width="100%" height="100%" source="http://www.lessons4living.com/images/penclchk.gif"/>
> 3) Image will not be shown
> 4) Add a dummy view as the first view (even a copy of view from step (2) will do).
> 5) This time image will be displayed and will be laid out to fill the screen, as expected.

This message was sent by Atlassian JIRA

View raw message