Results 1 to 2 of 2

Thread: problem wirh extjx 3.0 and displaying date picket in google chrome

  1. #1
    Sencha User
    Join Date
    Oct 2010
    Posts
    1

    Default problem wirh extjx 3.0 and displaying date picket in google chrome

    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

  2. #2
    Sencha User sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,335

    Default

    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.
    Code:
    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');
        }
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •