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 2019/01/15 23:06:40 UTC

[royale-asjs] branch develop updated: Set up a Popup with a Form to show in Tour De Jewel and check all popups right

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 80efbf8  Set up a Popup with a Form to show in Tour De Jewel and check all popups right
80efbf8 is described below

commit 80efbf855076dde8fa3cfc1a09440554f9758381
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed Jan 16 00:06:33 2019 +0100

    Set up a Popup with a Form to show in Tour De Jewel and check all popups right
---
 examples/royale/TourDeJewel/src/main/royale/MainContent.mxml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/examples/royale/TourDeJewel/src/main/royale/MainContent.mxml b/examples/royale/TourDeJewel/src/main/royale/MainContent.mxml
index 374451a..eeab529 100644
--- a/examples/royale/TourDeJewel/src/main/royale/MainContent.mxml
+++ b/examples/royale/TourDeJewel/src/main/royale/MainContent.mxml
@@ -22,6 +22,7 @@ limitations under the License.
     xmlns:js="library://ns.apache.org/royale/basic" 
     xmlns:html="library://ns.apache.org/royale/html" 
     xmlns:models="models.*" 
+    xmlns:c="components.*"
     xmlns:local="*">
 
     <fx:Script>
@@ -84,9 +85,12 @@ limitations under the License.
             <j:BarSection>
                 <j:IconButton>
                     <j:icon>
-                        <js:FontIcon text="{MaterialIconType.ACCOUNT_BALANCE}" material="true"/>
+                        <js:FontIcon text="{MaterialIconType.ACCOUNT_BALANCE}" material="true" click="popup.open = !popup.open"/>
                     </j:icon>
                 </j:IconButton>
+                <j:PopUp localId="popup">
+                    <c:FormExample label="Form example in a PopUp from FooterBar"/>
+                </j:PopUp>
                 <j:IconButton>
                     <j:icon>
                         <js:FontIcon text="{MaterialIconType.DATA_USAGE}" material="true"/>