EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: nyr_jack on December 03, 2012, 07:30:08 PM



Title: How to edit css in easyui.css or easyui.js
Post by: nyr_jack on December 03, 2012, 07:30:08 PM
I want to edit the initial width of combobox and datebox in easyui.js or easyui.css, but I don't find it, who can tell me ?


Title: Re: How to edit css in easyui.css or easyui.js
Post by: stworthy on December 05, 2012, 06:37:55 PM
Override $.fn.combobox.defaults and $.fn.datebox.defaults with 'width' property set to the specify value to initialize all the component's width.
Code:
$.fn.combobox.defaults.width = 200;
$.fn.datebox.defaults.width = 200;