Adding an inline icon to DateTimeItem's textField breaks width calculations.
In the example below all fields should have the same width:

SmartClient v13.0p_2024-04-10/AllModules Development Only
In the example below all fields should have the same width:
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] });
Comment