You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2017/11/02 17:14:22 UTC
[royale-asjs] branch develop updated: Textinput setup
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 4b5f419 Textinput setup
4b5f419 is described below
commit 4b5f4192b15ca4cd87db6098c1e1148020e4532a
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Thu Nov 2 18:08:18 2017 +0100
Textinput setup
---
.../RoyaleThemes/src/main/resources/wirefarme-styles.css | 16 ++++++++++++++++
.../src/main/royale/TextInputPlayGround.mxml | 2 +-
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/examples/royale/RoyaleThemes/src/main/resources/wirefarme-styles.css b/examples/royale/RoyaleThemes/src/main/resources/wirefarme-styles.css
index 2f264f8..27925bb 100644
--- a/examples/royale/RoyaleThemes/src/main/resources/wirefarme-styles.css
+++ b/examples/royale/RoyaleThemes/src/main/resources/wirefarme-styles.css
@@ -60,4 +60,20 @@ js|TextButton:hover {
js|TextButton:active {
background-color: #77CEFF;
color: #FFFFFF;
+}
+
+/*
+* TextInput
+*/
+
+js|TextInput {
+ padding: 5px;
+ border: solid 1px #666666;
+ border-radius: 6px;
+ color: #333333;
+}
+
+js|TextInput:hover {
+ padding: 5px;
+ background-color: #DFDFDF;
}
\ No newline at end of file
diff --git a/examples/royale/RoyaleThemes/src/main/royale/TextInputPlayGround.mxml b/examples/royale/RoyaleThemes/src/main/royale/TextInputPlayGround.mxml
index 9db0082..643ba46 100644
--- a/examples/royale/RoyaleThemes/src/main/royale/TextInputPlayGround.mxml
+++ b/examples/royale/RoyaleThemes/src/main/royale/TextInputPlayGround.mxml
@@ -22,6 +22,6 @@ limitations under the License.
- <js:TextInput width="120" height="40"/>
+ <js:TextInput text="Text Input" width="120" height="40"/>
</js:Group>
--
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <co...@royale.apache.org>'].