[SOLVED] How best to change the style of this element?

Answered
0
0

I’m still trying to complete my select2.js integration and I think I’m nearly there. I just can’t figure out how to change this element:

<div tabindex=”1″ class=”qx-textbox-borderSolid” id=”id_4″ style…

so that overflow-y is auto not hidden.  Ideally I’d like to change it in startup.js but I’m open to suggestions.

Thanks

Nic

  • You must to post comments
Best Answer
0
0

You need either a css file:

.qx-textbox-borderSolid {

overflow-y: auto !important;

}

Or if you have the Wisej widget:

widget.getContentElement().setStyle(“overflow-y”, “auto”);

 

  • You must to post comments
0
0

Thanks Luca, CSS did it, one last issue to resolve and then I think my extension is ready. Is there somewhere for user contributed extensions?

TIA

Nic

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.