PDA

View Full Version : problem wirh extjx 3.0 and displaying date picket in google chrome



willerpp
9 Feb 2013, 9:01 AM
hello, i have a problem in extjs 3.0.0 with chrome and the display of the date picket selection, when i click a datefield control to select the date, then the date picket form show with a very big with size , he show at all the window anchor, and the numbers of the day don'ts looks at once.
how can i fix it????? this only happen in chrome, in FF and IE it looks good.
best regards wpp

sword-it
10 Feb 2013, 11:16 PM
Hi willerpp,

If you look at the generated CSS with the developer tools in Chrome you can remidy the problem by setting the correct width.



if(Ext.isChrome===true){
var chromeDatePickerCSS = ".x-date-picker {border-color: #1b376c;background-color:#fff;position: relative;width: 185px;}";
Ext.util.CSS.createStyleSheet(chromeDatePickerCSS,'chromeDatePickerStyle');
}