Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Minor skin bug with DateItem

    SmartGWT: Pro, 2012-06-10 nightly
    FF: 12
    Chrome: 19
    GWT: 2.4

    Not a functional bug, but just a little unsightly: when using a DateItem with the format DMY is used instead of the default MDY order, the spacing between the D and M SelectItems is gone.

    From the screenshots you can see that the spacing between M and D came from the D SelectItem, as now the spacing of the FormItems no longer line up correctly (seen from the alignment with the Gender SelectItem)

    All there is to it is:
    Code:
    cmbDOB.setSelectorFormat(DateItemSelectorFormat.DAY_MONTH_YEAR);
    Attached Files
    Last edited by sunnyl; 10 Jun 2012, 23:07.

    #2
    I correct it like that:

    Code:
    isc.DateItem.addProperties({
            daySelectorProperties: {
    		cssText: "padding-left:0px;"
    	},
    	monthSelectorProperties: {
    		cssText: "padding-left:3px;"
    	}
    });
    
    isc.DateTimeItem.addProperties({
    	daySelectorProperties: {
    		cssText: "padding-left:0px;"
    	},
    	monthSelectorProperties: {
    		cssText: "padding-left:3px;"
    	}
    });

    Comment


      #3
      We've made a change to resolve this in the framework (available in the 3.1d branch, nightly builds dated June 12 or greater)

      Comment


        #4
        Originally posted by Isomorphic
        We've made a change to resolve this in the framework (available in the 3.1d branch, nightly builds dated June 12 or greater)
        I'm on the 3.1d 20120612 version now, but it seems the same problem now happens with the spacing between the year and the picker icon.
        Attached Files

        Comment

        Working...
        X