EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 04, 2024, 04:23:45 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
How to edit css in easyui.css or easyui.js
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to edit css in easyui.css or easyui.js (Read 7084 times)
nyr_jack
Newbie
Posts: 31
How to edit css in easyui.css or easyui.js
«
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 ?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: How to edit css in easyui.css or easyui.js
«
Reply #1 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;
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...