You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/04/24 19:39:44 UTC
[4/5] git commit: [flex-asjs] - add class selectors for skinnable
button
add class selectors for skinnable button
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b22f5415
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b22f5415
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b22f5415
Branch: refs/heads/develop
Commit: b22f5415aec3a5a0cb3e6d92ba19afe981d7f5b3
Parents: a469dfd
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 24 10:14:01 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 24 10:14:01 2013 -0700
----------------------------------------------------------------------
examples/FlexJSTest_again/src/MyInitialView.mxml | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b22f5415/examples/FlexJSTest_again/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest_again/src/MyInitialView.mxml b/examples/FlexJSTest_again/src/MyInitialView.mxml
index 640c72e..9a910cc 100644
--- a/examples/FlexJSTest_again/src/MyInitialView.mxml
+++ b/examples/FlexJSTest_again/src/MyInitialView.mxml
@@ -65,15 +65,16 @@ limitations under the License.
@namespace basic "library://ns.apache.org/flexjs/basic";
.skinned {
- background-image: "ButtonImageUp.png";
+ background-image: url('ButtonImageUp.png');
+ border-style: none;
}
.skinned:hover {
- background-image: "ButtonImageOver.png";
+ background-image: url('ButtonImageOver.png');
}
.skinned:active {
- background-image: "ButtonImageDown.png";
+ background-image: url('ButtonImageDown.png');
}
</fx:Style>
@@ -128,7 +129,7 @@ limitations under the License.
</basic:beads>
</basic:DropDownList>
<basic:TextButton text="OK" x="200" y="230" click="dispatchEvent(new CustomEvent('buttonClicked'))" />
- <basic:TextButton text="Skinned" x="200" y="260" className="skinned" click="dispatchEvent(new CustomEvent('buttonClicked'))" />
+ <basic:TextButton text="Skinned" x="200" y="260" width="80" height="24" className="skinned" click="dispatchEvent(new CustomEvent('buttonClicked'))" />
<basic:ComboBox id="comboBox" x="320" y="200" width="100" change="dispatchEvent(new CustomEvent('comboBoxChanged'))">
<basic:beads>