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:	96
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


        #4
        Hello, this is still happening in latest 13.1, using Shiva skin

        Comment


          #5
          hi Claudio, and apologies for the delay - we've fixed this one for today's builds, dated May 5, and later ones.

          Comment


            #6
            SmartClient Version: v13.1p_2025-05-05/AllModules Development Only (built 2025-05-05)

            I can confirm it's fixed, thank you very much.

            Comment

            Working...
            X