EasyUI Forum

General Category => Bug Report => Topic started by: cdtuql on May 19, 2017, 12:05:56 AM



Title: set textbox disabled:true ,grey shadow did not full fill the box
Post by: cdtuql 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


Title: Re: set textbox disabled:true ,grey shadow did not full fill the box
Post by: jarry 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>


Title: Re: set textbox disabled:true ,grey shadow did not full fill the box
Post by: cdtuql 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?


Title: Re: set textbox disabled:true ,grey shadow did not full fill the box
Post by: jianspf 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.