this.inherited(arguments);
this.createComponent({
name: "comboboxNote",
- container: this.$.fittableColumns,
+ container: this.$.container,
classes: "xv-combobox-note"
});
- // TODO: git rid of this
- this.$.input.applyStyle("padding-top", "8px");
- this.$.input.applyStyle("padding-left", "8px");
},
/**
Populate the note field
}
.xv-grid-attr {
- // This limits the text to four lines
- overflow: hidden;
- display: -webkit-box;
- -webkit-line-clamp: 4;
- -webkit-box-orient: vertical;
+ .xv-limit-description
&.bold {
font-weight: bold;
border: none;
}
+ // This gives them 4 lines of description
+.xv-limit-description {
+ overflow: hidden;
+ display: -webkit-box;
+ -webkit-line-clamp: 4;
+ -webkit-box-orient: vertical;
+}
+
.xv-app-panel {
/* Setting this as min-width overrides enyo-narrow 100% */
width: @defaultPanelWidth;
*/
.xv-relationwidget {
.xv-description {
- overflow: hidden;
-
- // This gives them 4 lines of description
- display: -webkit-box;
- -webkit-line-clamp: 4;
- -webkit-box-orient: vertical;
+ .xv-limit-description;
max-width: 250px;
margin: 5px 5px 5px 80px;
padding: 0;
border: none;
}
+.xv-limit-description {
+ overflow: hidden;
+ display: -webkit-box;
+ -webkit-line-clamp: 4;
+ -webkit-box-orient: vertical;
+}
.xv-app-panel {
/* Setting this as min-width overrides enyo-narrow 100% */
width: 320px;
.xv-grid-box .xv-scroller {
background: #f8f8f8;
}
-.xv-grid-box .xv-grid-attr {
- overflow: hidden;
- display: -webkit-box;
- -webkit-line-clamp: 4;
- -webkit-box-orient: vertical;
-}
-.xv-grid-box .xv-grid-attr.bold {
+.xv-limit-description .xv-grid-box .xv-grid-attr.bold {
font-weight: bold;
}
.xv-grid-box .xv-grid-attr.error {
onValueChange: "controlValueChanged"
},
components: [
- {controlClasses: 'enyo-inline', components: [
+ {controlClasses: 'enyo-inline', name: "container", components: [
{name: "label", classes: "xv-label"},
{kind: "onyx.InputDecorator", tag: "div", classes: "xv-icon-decorator", components: [
{name: "input", kind: "onyx.Input", onkeyup: "keyUp", onkeydown: "keyDown",
nullText: ""
},
components: [
- {kind: "FittableColumns", components: [
- {name: "label", content: "", fit: true, classes: "xv-flexible-label"},
- // setting the tag to "div" on the decorator
- // so that clicks of button don't get redirected back
- // to the input field (default behavior)
+ {controlClasses: 'enyo-inline', components: [
+ {name: "label", classes: "xv-label"},
{kind: "onyx.InputDecorator", name: "decorator", tag: "div",
classes: "xv-icon-decorator", components: [
{name: "input", kind: "onyx.Input", onchange: "inputChanged",
]},
{name: "datePickPopup", kind: "onyx.Popup", maxHeight: 400, floating: true,
centered: true, modal: true, components: [
- // TODO: get rid of this inline style
{kind: "GTS.DatePicker", name: "datePick", style: "min-width:400px;",
onChange: "datePicked"}
]}
showLabel: false
},
components: [
- {name: "label", content: "", fit: true, classes: "xv-flexible-label"},
+ {name: "label", classes: "xv-label"},
{name: "input", kind: "onyx.TextArea", classes: "xv-textarea-input",
onchange: "inputChanged", onkeydown: "keyDown"}
]