this.inherited(arguments); var forRef = this.button; if(!forRef.id){ forRef.id = dijit._scopeName+"EditorButton-"+this.command+(this._uniqueId++); } //TODO: is this necessary? FilteringSelects always seem to have an id? var label = dojo.doc.createElement("label"); dojo.addClass(label, "dijit dijitReset dijitLeft dijitInline"); label.setAttribute("for", forRef.id); var strings = dojo.i18n.getLocalization("dijit._editor", "FontChoice"); label.appendChild(dojo.doc.createTextNode(strings[this.command])); dojo.place(label, this.button.domNode, "before");