tweak input boxes to make them square rather than rounded
This commit is contained in:
parent
bd0e05f1a1
commit
272c339d3a
3 changed files with 5 additions and 3 deletions
|
@ -47,7 +47,8 @@ enyo.kind({
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{flex: 1, name: "scroller", kind: "Scroller", components: [
|
{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",
|
{name: "editToolbar", kind: "Toolbar", pack: "justify", className: "enyo-toolbar-light",
|
||||||
components: [
|
components: [
|
||||||
|
|
|
@ -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: [
|
{flex: 1, kind: "Scroller", name: "scroller", components: [
|
||||||
{kind: "VirtualRepeater", name: "todoList",
|
{kind: "VirtualRepeater", name: "todoList",
|
||||||
onSetupRow: "getTodoList", onclick: "todoTap",
|
onSetupRow: "getTodoList", onclick: "todoTap",
|
||||||
|
|
|
@ -99,7 +99,8 @@ enyo.kind({
|
||||||
// hack for RichText not working properly
|
// hack for RichText not working properly
|
||||||
this.$.editView.$.tododetail.destroy();
|
this.$.editView.$.tododetail.destroy();
|
||||||
this.$.editView.$.scroller.createComponent(
|
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();
|
this.$.editView.render();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue