Index: gc_lang/fr/mailext/content/lex_editor.css ================================================================== --- gc_lang/fr/mailext/content/lex_editor.css +++ gc_lang/fr/mailext/content/lex_editor.css @@ -4,11 +4,11 @@ font-weight: bold; } /* Dictionary -*/ +*/ .dictionary { font-size: 18px; font-weight: bold; color: hsl(210, 50%, 50%); } @@ -80,10 +80,16 @@ #lexicon_table { width: 600px; height: 650px; } +.list_header { + padding: 2px 10px; + font-weight: bold; + background-color: hsl(0, 0%, 95%); + border-bottom: 1px solid hsl(0, 0%, 50%); +} .info_label { width: 120px; } .data { width: 90px; Index: gc_lang/fr/mailext/content/lex_editor.js ================================================================== --- gc_lang/fr/mailext/content/lex_editor.js +++ gc_lang/fr/mailext/content/lex_editor.js @@ -64,19 +64,14 @@ this._createHeader(); } _createHeader () { let xListheadNode = createNode("richlistitem"); - for (let sColumn of this.lColumn) { - xListheadNode.appendChild(createNode("div", { class: "listheader", label: sColumn })); + for (let i=0; i < this.lColumn.length; i++) { + xListheadNode.appendChild(createNode("label", { class: "listheader", value: this.lColumn[i], flex: this.lColumnWidth[i] })); } this.xTable.appendChild(xListheadNode); - let xListcolsNode = createNode("richlistitem"); - for (let cColumn of this.lColumnWidth) { - xListcolsNode.appendChild(createNode("div", { class: "listcol", flex: cColumn })); - } - this.xTable.appendChild(xListcolsNode); } clear () { while (this.xTable.firstChild) { this.xTable.removeChild(this.xTable.firstChild); @@ -118,11 +113,11 @@ } _addRow (lData) { let xRowNode = createNode("richlistitem", { id: this.sNodeId + "_item_" + this.iEntryIndex, value: this.iEntryIndex }); for (let data of lData) { - xRowNode.appendChild(createNode("div", { class:"listcell", label: data })); + xRowNode.appendChild(createNode("label", { class:"listcell", label: data })); } this.xTable.appendChild(xRowNode); this.iEntryIndex += 1; } Index: gc_lang/fr/mailext/content/lex_editor.xul ================================================================== --- gc_lang/fr/mailext/content/lex_editor.xul +++ gc_lang/fr/mailext/content/lex_editor.xul @@ -157,12 +157,12 @@ --> - - + +