Announcement

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

    YearChooser is clipped when showing many years

    SmartClient Version: SNAPSHOT_v11.1d_2017-05-05/Enterprise Development Only (built 2017-05-05)

    Chrome on OSX

    Hello, please try this test case:

    Code:
    isc.DateItem.addProperties({
        startDate:isc.Date.createLogicalDate(new Date().getFullYear() - 100, 1, 1),
        endDate:isc.Date.createLogicalDate(new Date().getFullYear() , 12, 31)
    });
    isc.RelativeDateItem.addProperties({
        startDate:isc.Date.createLogicalDate(new Date().getFullYear() - 100, 1, 1),
        endDate:isc.Date.createLogicalDate(new Date().getFullYear() , 12, 31)
    });
    
    isc.DynamicForm.create({
        ID: "dateForm",
        numCols: 4,    
        width: 650,
        fields: [
            {name:"pickListDate", title:"PickList Date", type:"date", change:"dateLabel.setContents(value)",
             wrapTitle:false},
            {name:"directInputDate", title:"Direct Input Date", type:"date", useTextField:true, wrapTitle:false,
             change:"dateLabel.setContents(value)"}
        ]
    });
    
    isc.Label.create({
            ID: "dateLabel",
            top: 40,
            left: 100,
            width: 450
    });
    
    dateLabel.setContents(dateForm.getValue('pickListDate'));
    resize the page so that the dateChooserButton on the right is near the page border, then open the DateChooser, and open the YearChooser: you'll see that it is clipped.

    Click image for larger version

Name:	2017-05-05 03.06.47.jpg
Views:	133
Size:	61.9 KB
ID:	244457

    #2
    This has been fixed for both Year and Month popups in builds dated May 6 and later

    Comment


      #3
      SmartClient Version: SNAPSHOT_v11.1d_2017-05-06/Enterprise Development Only (built 2017-05-06)

      Thanks, I can confirm it's working on desktop, but I've just noticed it still gets clipped on the iPhone 5 simulator.
      Is it feasible to make it usable on smaller devices? I'm asking because it doesn't have a scrollbar or other control (which btw is nice because reduces the number of clicks).

      A side note: I think that the DateChooser could use a bigger font, don't you think so?

      Comment


        #4
        We'll take a look at this, but it may take a few days to get to it. We'll update here when we have more information.

        Comment

        Working...
        X