Announcement

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

  • 12.1: ToolbarItem height too small

    SmartClient Version: SNAPSHOT_v12.1d_2019-01-09/AllModules Development Only (built 2019-01-09)

    Chrome on OSX

    Hello, I've just noticed a little problem in the latest 12.1, please try this test case:

    Code:
    isc.DynamicForm.create({
        ID: "timeForm",
        wrapItemTitles: false,
        fields: [
            {name: "textTime", title: "Time #1", type: "time"},
            {
                name: "pickTime", title: "Time #2", type: "time",
                minuteIncrement: 15,
                useTextField: false
            },
            {
                name: "myToolbar", type: "toolbar", buttons: [
                    {
                        name: "showButton",
                        width: 125,
                        title: "Show Time Values",
                        getTime: function (itemName) {
                            var item = timeForm.getItem(itemName);
                            var inputTime = item.getValue();
                            return isc.Time.toTime(inputTime);
                        },
                        click: function (form, item) {
                            isc.say("Time #1: " + this.getTime("textTime") + "<br>" +
                                "Time #2: " + this.getTime("pickTime"));
                        }
                    }
                ]
            }
        ]
    });
    You'll see that the button height is too small.
Working...
X