Skip to content

Commit

Permalink
builds with 3.0.0-beta2
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed May 17, 2016
1 parent e4e690e commit 45ce3ad
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion sdk.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The location of the SDK.
# Override featherssdk.root in sdk.local.properties (create that file if it
# doesn't already exist).
feathers.sdk.root = /Users/joshtynjala/Development/Flash/sdks/feathers-sdk-3.0.0-alpha_AIR19
feathers.sdk.root = /Users/joshtynjala/Development/Flash/sdks/feathers-sdk-3.0.0-beta2_AIR21
frameworks.root = ${feathers.sdk.root}/frameworks

# path to compiler jars
Expand Down
11 changes: 6 additions & 5 deletions source/FeathersSDKManagerTheme.as
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ package
import feathers.controls.Check;
import feathers.controls.ImageLoader;
import feathers.controls.Label;
import feathers.controls.text.TextBlockTextRenderer;
import feathers.layout.AnchorLayoutData;
import feathers.themes.MetalWorksDesktopTheme;

Expand Down Expand Up @@ -111,8 +112,8 @@ package
this.getStyleProviderForClass(ImageLoader).setFunctionForStyleName(
CustomStyleNames.ALTERNATE_STYLE_NAME_INSTALL_FAILED_ICON_IMAGE_LOADER, setInstallFailedIconImageLoaderStyles);

this.getStyleProviderForClass(Label).setFunctionForStyleName(
CustomStyleNames.ALTERNATE_STYLE_NAME_MESSAGE_LABEL, setMessageLabelStyles);
this.getStyleProviderForClass(TextBlockTextRenderer).setFunctionForStyleName(
CustomStyleNames.ALTERNATE_STYLE_NAME_MESSAGE_LABEL, setMessageLabelTextRendererStyles);
}

override protected function setAlertButtonGroupStyles(group:ButtonGroup):void
Expand Down Expand Up @@ -164,10 +165,10 @@ package
loader.setSize(ICON_SIZE, ICON_SIZE);
}

protected function setMessageLabelStyles(label:Label):void
protected function setMessageLabelTextRendererStyles(textRenderer:TextBlockTextRenderer):void
{
this.setLabelStyles(label);
label.textRendererProperties.textAlign = TextFormatAlign.CENTER;
this.setLabelTextRendererStyles(textRenderer);
textRenderer.textAlign = TextFormatAlign.CENTER;
}
}
}
2 changes: 1 addition & 1 deletion source/view/InstallErrorScreen.mxml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ limitations under the License.
<f:Label styleName="{Label.ALTERNATE_STYLE_NAME_HEADING}"
text="Installation Failed"/>
<f:ImageLoader styleName="{CustomStyleNames.ALTERNATE_STYLE_NAME_INSTALL_FAILED_ICON_IMAGE_LOADER}"/>
<f:Label styleName="{CustomStyleNames.ALTERNATE_STYLE_NAME_MESSAGE_LABEL}"
<f:Label customTextRendererStyleName="{CustomStyleNames.ALTERNATE_STYLE_NAME_MESSAGE_LABEL}"
text="{errorMessage}" wordWrap="true">
<f:layoutData>
<f:VerticalLayoutData percentWidth="100"/>
Expand Down
2 changes: 1 addition & 1 deletion source/view/InstallProgressScreen.mxml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ limitations under the License.

<f:Label id="progressTitleLabel" styleName="{Label.ALTERNATE_STYLE_NAME_HEADING}" text="{progressTitle}"/>
<f:ProgressBar minimum="0" maximum="1" value="{progressValue}"/>
<f:Label id="progressLabel" styleName="{CustomStyleNames.ALTERNATE_STYLE_NAME_MESSAGE_LABEL}"
<f:Label id="progressLabel" customTextRendererStyleName="{CustomStyleNames.ALTERNATE_STYLE_NAME_MESSAGE_LABEL}"
text="{progressText}" wordWrap="true">
<f:layoutData>
<f:VerticalLayoutData percentWidth="100"/>
Expand Down

0 comments on commit 45ce3ad

Please sign in to comment.