This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch feature/simplify-position
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/feature/simplify-position by 
this push:
     new 1c874c2  Improved todo look a bit
1c874c2 is described below

commit 1c874c20c7f3db4dd401846598f9e846cc783530
Author: Harbs <[email protected]>
AuthorDate: Thu Jun 7 16:07:52 2018 +0300

    Improved todo look a bit
---
 .../src/main/royale/sample/todo/renderers/TodoItemRenderer.mxml       | 2 +-
 .../src/main/royale/sample/todo/views/TodoListView.mxml               | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/examples/royale/TodoListSampleApp/src/main/royale/sample/todo/renderers/TodoItemRenderer.mxml
 
b/examples/royale/TodoListSampleApp/src/main/royale/sample/todo/renderers/TodoItemRenderer.mxml
index 7c4817f..95acf1b 100644
--- 
a/examples/royale/TodoListSampleApp/src/main/royale/sample/todo/renderers/TodoItemRenderer.mxml
+++ 
b/examples/royale/TodoListSampleApp/src/main/royale/sample/todo/renderers/TodoItemRenderer.mxml
@@ -58,7 +58,7 @@ limitations under the License.
                     change="checkBoxChange()"
                                 />
        
-       <js:Button className="RemoveButton"
+       <js:TextButton className="RemoveButton" text="X"
                   click="removeClick()" />
 
 </js:MXMLItemRenderer>
diff --git 
a/examples/royale/TodoListSampleApp/src/main/royale/sample/todo/views/TodoListView.mxml
 
b/examples/royale/TodoListSampleApp/src/main/royale/sample/todo/views/TodoListView.mxml
index 701b330..3a15b9e 100644
--- 
a/examples/royale/TodoListSampleApp/src/main/royale/sample/todo/views/TodoListView.mxml
+++ 
b/examples/royale/TodoListSampleApp/src/main/royale/sample/todo/views/TodoListView.mxml
@@ -36,6 +36,7 @@ limitations under the License.
         
         .RendererText {
                        left: 10px;
+                       top: 10px;
         }
         
         .RemoveButton {
@@ -43,6 +44,9 @@ limitations under the License.
                height: 16px;
                border: solid 1px red;
                        right: 10px;
+                       top: 10px;
+                       line-height: 0;
+                       color: red;
         }
         
         .StatusText {

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to