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

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

commit ffa58b856163b1d3e7a8d81771e0785fed7028d5
Author: Alex Harui <[email protected]>
AuthorDate: Tue Dec 3 12:48:11 2019 -0800

    show close button.  Needs CSS to position correctly
---
 .../SparkRoyale/src/main/royale/spark/components/beads/PanelView.as    | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/PanelView.as
 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/PanelView.as
index 16bc209..44485f1 100644
--- 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/PanelView.as
+++ 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/PanelView.as
@@ -65,6 +65,9 @@ public class PanelView extends 
org.apache.royale.html.beads.PanelView
     {
         titleBar = new PanelTitleBar();
         super.strand = value;
+        var host:SkinnableContainer = _strand as SkinnableContainer;
+        var model:PanelModel = host.model as PanelModel;
+        model.showCloseButton = true;
     }
     
     /**

Reply via email to