SmartClient Version: v13.1p_2025-12-28/AllModules Development Only (built 2025-12-28)
Hi, please try this test case in the showcase:
It’s not clear to me why the second form appears to overflow and therefore ends up wider:

This does not happen if the VLayout has a fixed width.
Is this a bug, or am I missing something?
Hi, please try this test case in the showcase:
Code:
isc.DynamicForm.create({
ID: "form1",
width: "100%",
border: "1px solid blue",
numCols: 7,
colWidths: ["*", "*", "*", "*", "*", "*", "*"],
fields: [
{name: "foo0", rowSpan: 2, colSpan: 1, showTitle: false, type: "textArea", height: "*"},
{name: "foo1", endRow: false}, {name: "foo2", endRow: false}, {name: "foo3"},
{name: "foo4", endRow: false}, {name: "foo5", endRow: false}, {name: "foo6"}
]
});
isc.DynamicForm.create({
ID: "form2",
width: "100%",
border: "1px solid blue",
numCols: 7,
colWidths: ["*", "*", "*", "*", "*", "*", "*"],
fields: [
{name: "foo0", rowSpan: 2, colSpan: 1, showTitle: false, type: "textArea", height: "*"},
{name: "foo1", endRow: false}, {name: "foo2", endRow: false}, {name: "foo3"},
{name: "foo4", endRow: false}, {name: "foo5", endRow: false}, {name: "foo6"},
{name: "foo7", type: "FileItem", colSpan: 6, hint: "foo bar"}
]
});
isc.VLayout.create({
width: "100%",
border: "1px solid red",
members: [form1, form2]
})
This does not happen if the VLayout has a fixed width.
Is this a bug, or am I missing something?