You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2017/05/11 17:47:47 UTC

git commit: [flex-asjs] [refs/heads/release0.8.0] - Get TodoListExample looking better.

Repository: flex-asjs
Updated Branches:
  refs/heads/release0.8.0 ea53290cc -> bf782eca4


Get TodoListExample looking better.


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/bf782eca
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/bf782eca
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/bf782eca

Branch: refs/heads/release0.8.0
Commit: bf782eca4ec39a6995d5743f4ff9e85512b3fe43
Parents: ea53290
Author: Peter Ent <pe...@apache.org>
Authored: Thu May 11 13:47:45 2017 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Thu May 11 13:47:45 2017 -0400

----------------------------------------------------------------------
 .../src/main/flex/sample/todo/renderers/TodoItemRenderer.mxml   | 5 +++--
 .../src/main/flex/sample/todo/views/TodoListView.mxml           | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bf782eca/examples/flexjs/TodoListSampleApp/src/main/flex/sample/todo/renderers/TodoItemRenderer.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TodoListSampleApp/src/main/flex/sample/todo/renderers/TodoItemRenderer.mxml b/examples/flexjs/TodoListSampleApp/src/main/flex/sample/todo/renderers/TodoItemRenderer.mxml
index 2d51c56..7c954d5 100644
--- a/examples/flexjs/TodoListSampleApp/src/main/flex/sample/todo/renderers/TodoItemRenderer.mxml
+++ b/examples/flexjs/TodoListSampleApp/src/main/flex/sample/todo/renderers/TodoItemRenderer.mxml
@@ -42,14 +42,15 @@ limitations under the License.
 	</fx:Script>
 	
 	<js:beads>
-		<js:HorizontalFlexLayout />
+		<js:BasicLayout />
 		<js:ItemRendererDataBinding />
 	</js:beads>
 
 	<js:CheckBox text="{data.title}" 
 	             selected="{data.selected}" 
 	             className="RendererText"
-	             change="checkBoxChange()" />
+	             change="checkBoxChange()"
+				 />
 	
 	<js:Button className="RemoveButton"
 	           click="removeClick()" />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/bf782eca/examples/flexjs/TodoListSampleApp/src/main/flex/sample/todo/views/TodoListView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TodoListSampleApp/src/main/flex/sample/todo/views/TodoListView.mxml b/examples/flexjs/TodoListSampleApp/src/main/flex/sample/todo/views/TodoListView.mxml
index 563d1f0..6b4fe33 100644
--- a/examples/flexjs/TodoListSampleApp/src/main/flex/sample/todo/views/TodoListView.mxml
+++ b/examples/flexjs/TodoListSampleApp/src/main/flex/sample/todo/views/TodoListView.mxml
@@ -35,13 +35,14 @@ limitations under the License.
         }
         
         .RendererText {
-        	flex-grow: 1;
+			left: 10px;
         }
         
         .RemoveButton {
         	width: 16px;
         	height: 16px;
         	border: solid 1px red;
+			right: 10px;
         }
         
         .StatusText {