tweak input boxes to make them square rather than rounded

This commit is contained in:
Morgan McMillian 2012-03-17 16:24:01 -04:00
parent bd0e05f1a1
commit 272c339d3a
3 changed files with 5 additions and 3 deletions

View file

@ -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: [

View file

@ -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",

View file

@ -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 {