Skip to content

Commit

Permalink
LogsScreen, ConfigureDownloadCacheScreen: minor tweaks to the close b…
Browse files Browse the repository at this point in the history
…utton
  • Loading branch information
joshtynjala committed Jun 9, 2017
1 parent dd28836 commit f204682
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions source/view/ConfigureDownloadCacheScreen.mxml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ limitations under the License.
<f:layoutData>
<f:AnchorLayoutData right="0" bottom="0" left="0"/>
</f:layoutData>
<f:leftItems>
<f:rightItems>
<fx:Vector type="starling.display.DisplayObject">
<f:Button id="saveButton" styleName="{Button.ALTERNATE_STYLE_NAME_BACK_BUTTON}"
label="Save" triggered="saveButton_triggeredHandler(event)"/>
<f:Button id="saveButton" label="Save"
triggered="saveButton_triggeredHandler(event)"/>
</fx:Vector>
</f:leftItems>
</f:rightItems>
</f:Header>

<fx:Script><![CDATA[
Expand Down
10 changes: 5 additions & 5 deletions source/view/LogsScreen.mxml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@ limitations under the License.
<f:layoutData>
<f:AnchorLayoutData right="0" bottom="0" left="0"/>
</f:layoutData>
<f:leftItems>
<f:rightItems>
<fx:Vector type="starling.display.DisplayObject">
<f:Button id="backButton" styleName="{Button.ALTERNATE_STYLE_NAME_BACK_BUTTON}"
label="Back" triggered="backButton_triggeredHandler(event)"/>
<f:Button id="closeButton" label="Close"
triggered="closeButton_triggeredHandler(event)"/>
</fx:Vector>
</f:leftItems>
</f:rightItems>
</f:Header>

<fx:Script><![CDATA[
[Bindable]
public var log:String;
private function backButton_triggeredHandler(event:Event):void
private function closeButton_triggeredHandler(event:Event):void
{
this.dispatchEventWith(Event.COMPLETE);
}
Expand Down

0 comments on commit f204682

Please sign in to comment.