Announcement

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

    DateTimeItem with icon in textField has invalid width

    Adding an inline icon to DateTimeItem's textField breaks width calculations.

    In the example below all fields should have the same width:
    Click image for larger version

Name:	DateTimeItem-Icon.png
Views:	33
Size:	11.3 KB
ID:	272130
    Code:
    const form = isc.DynamicForm.create({
        autoDraw: false,
        items: [
            {
                name: "date1",
                title: "Date 1",
                width: 200,
                editorType: "DateTimeItem",
                textFieldProperties: {
                    icons: [{name: "view", src: "[SKINIMG]actions/view.png", inline: true}]
                }
            },
            {
                name: "date2",
                title: "Date 2",
                width: 200,
                editorType: "DateTimeItem"
            },
            {
                name: "text1",
                width: 200,
                icons: [{name: "view", src: "[SKINIMG]actions/view.png", inline: true}]
            },
            {
                name: "text2",
                width: 200,
                icons: [{name: "view", src: "[SKINIMG]actions/view.png", inline: true}]
            },
        ]
    });
    
    isc.VStack.create({
        width: "100%", members: [form]
    });
    SmartClient v13.0p_2024-04-10/AllModules Development Only

    #2
    Hi Isomorphic ,

    Have you had time to look into this? I'm writing to make sure that it didn't get lost.

    Comment


      #3
      It's been assigned, it just hasn't bubbled to the top of the priority list yet. Thanks for reporting it.

      Comment

      Working...
      X