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 58118eb little fix in example 58118eb is described below commit 58118eb59f2f3158657af0ffdef85f15e31349be Author: Carlos Rovira <carlosrov...@apache.org> AuthorDate: Thu Aug 9 17:54:31 2018 +0200 little fix in example --- .../royale/BE0010_Customization_through_the_Royale_API.mxml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/blog/BE0010_Customization_through_the_Royale_API/src/main/royale/BE0010_Customization_through_the_Royale_API.mxml b/examples/blog/BE0010_Customization_through_the_Royale_API/src/main/royale/BE0010_Customization_through_the_Royale_API.mxml index 34fef9c..9f655c3 100644 --- a/examples/blog/BE0010_Customization_through_the_Royale_API/src/main/royale/BE0010_Customization_through_the_Royale_API.mxml +++ b/examples/blog/BE0010_Customization_through_the_Royale_API/src/main/royale/BE0010_Customization_through_the_Royale_API.mxml @@ -55,13 +55,13 @@ private function expandButtons(event:Event = null):void { var alertView:AlertView = alert.getBeadByType(IBeadView) as AlertView; - - var verticalLayout:VerticalLayout = new VerticalLayout(); - verticalLayout.gap = 9; - alertView.content.addBead(verticalLayout); - + if(event == null) { + var verticalLayout:VerticalLayout = new VerticalLayout(); + verticalLayout.gap = 9; + alertView.content.addBead(verticalLayout); + alertView.content.addElement(check); }