From 272c339d3a3891a9045f7502c884b4faf8b2c429 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sat, 17 Mar 2012 16:24:01 -0400 Subject: [PATCH] tweak input boxes to make them square rather than rounded --- app/source/TodoEdit.js | 3 ++- app/source/TodoList.js | 2 +- app/source/TodoTxt.js | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/source/TodoEdit.js b/app/source/TodoEdit.js index 278dd90..e18c40c 100644 --- a/app/source/TodoEdit.js +++ b/app/source/TodoEdit.js @@ -47,7 +47,8 @@ enyo.kind({ ] }, {flex: 1, name: "scroller", kind: "Scroller", components: [ - {kind: "RichText", name: "tododetail", richContent: false}, + {kind: "RichText", name: "tododetail", richContent: false, + className: "enyo-box-input"}, ]}, {name: "editToolbar", kind: "Toolbar", pack: "justify", className: "enyo-toolbar-light", components: [ diff --git a/app/source/TodoList.js b/app/source/TodoList.js index 2c66635..f34d159 100644 --- a/app/source/TodoList.js +++ b/app/source/TodoList.js @@ -72,7 +72,7 @@ enyo.kind({ ]} ]} ]}, - {kind: "SearchInput", name: "searchbox", onchange: "searchList", onCancel: "clearSearch"}, + {kind: "SearchInput", name: "searchbox", onchange: "searchList", onCancel: "clearSearch", className: "enyo-box-input"}, {flex: 1, kind: "Scroller", name: "scroller", components: [ {kind: "VirtualRepeater", name: "todoList", onSetupRow: "getTodoList", onclick: "todoTap", diff --git a/app/source/TodoTxt.js b/app/source/TodoTxt.js index 1680d77..9c59e42 100644 --- a/app/source/TodoTxt.js +++ b/app/source/TodoTxt.js @@ -99,7 +99,8 @@ enyo.kind({ // hack for RichText not working properly this.$.editView.$.tododetail.destroy(); this.$.editView.$.scroller.createComponent( - {kind: "Input", name: "tododetail", owner:this.$.editView} + {kind: "Input", name: "tododetail", + className: "enyo-box-input", owner:this.$.editView} ); this.$.editView.render(); } else {