EasyUI Forum
June 23, 2018, 08:34:53 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: set textbox disabled:true ,grey shadow did not full fill the box  (Read 1761 times)
cdtuql
Newbie
*
Posts: 26


View Profile Email
« on: May 19, 2017, 12:05:56 AM »

set textbox  disabled:true ,grey shadow did not full fill the box,it letf a little white place on the right.how can i do
Logged
jarry
Administrator
Hero Member
*****
Posts: 1384


View Profile Email
« Reply #1 on: May 19, 2017, 10:03:57 PM »

Please try to set the 'border-radius' style for the inputing box.
Code:
<style type="text/css">
.textbox .textbox-text{
border-radius: 4px;
}
</style>
Logged
cdtuql
Newbie
*
Posts: 26


View Profile Email
« Reply #2 on: May 21, 2017, 10:17:04 PM »

Please try to set the 'border-radius' style for the inputing box.
Code:
<style type="text/css">
.textbox .textbox-text{
border-radius: 4px;
}
</style>

but it does not work right,can you give me a example?
« Last Edit: May 22, 2017, 05:59:44 PM by cdtuql » Logged
jianspf
Newbie
*
Posts: 9


View Profile Email
« Reply #3 on: December 21, 2017, 12:48:32 AM »

I have the same problem.
the default css like this:
.textbox .textbox-text {
  padding: 4px;
}
I revised padding: 4px to 0px, then the disabled textbox looks normal, but the text is very close to left side...I think padding: 4px looks better, but how to remove the white block right side.

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!