Hi Isomorphic,
Please see my 4 test cases.
The problem in each case is the same: Titles are NOT horizontally in the same position.
I added a horizontal black line to photo, to see the difference.

Sometimes the difference is smaller (test case 1 and 2) and sometimes bigger (test case 3 and 4).
But I expect that titles are always horizontally in the same position.
SmartClient Version: v12.0p_2020-03-08/AllModules Development Only (built 2020-03-08)
Best
Pavo
Please see my 4 test cases.
The problem in each case is the same: Titles are NOT horizontally in the same position.
I added a horizontal black line to photo, to see the difference.
Sometimes the difference is smaller (test case 1 and 2) and sometimes bigger (test case 3 and 4).
But I expect that titles are always horizontally in the same position.
SmartClient Version: v12.0p_2020-03-08/AllModules Development Only (built 2020-03-08)
Code:
isc.DynamicForm.create({
ID: "contactForm",
width: 50,
numCols: 4,
backgroundColor: "yellow",
hiliteRequiredFields: true,
requiredTitleSuffix: " (*):</b>",
fields: [
{ name: "Test1", title: "Test1", type:"CheckboxItem", value:"true", required:true
},
{ name: "Test2", title: "Test2", type: "TextItem", value:"1"}
]
});
isc.DynamicForm.create({
ID: "contactForm2",
top:100,
titleOrientation:"top",
width: 50,
numCols: 4,
backgroundColor: "yellow",
hiliteRequiredFields: true,
requiredTitleSuffix: " (*):</b>",
fields: [
{ name: "Test1", title: "Test1", type:"CheckboxItem", value:"true", required:true, labelAsTitle:true
},
{ name: "Test2", title: "Test2", type: "TextItem", value:"1"}
]
});
isc.DynamicForm.create({
ID: "contactForm3",
top:200,
titleOrientation:"top",
width: 50,
numCols: 4,
backgroundColor: "yellow",
hiliteRequiredFields: true,
requiredTitleSuffix: " (*):</b>",
fields: [
{ name: "Test1", title: "Test1", type:"CheckboxItem", value:"true", required:true, labelAsTitle:true
},
{ name: "Test2", title: "Test2", type: "StaticTextItem", value:"1"}
]
});
isc.DynamicForm.create({
ID: "contactForm4",
top:300,
titleOrientation:"top",
width: 50,
numCols: 4,
backgroundColor: "yellow",
hiliteRequiredFields: true,
fields: [
{ name: "Test1", title: "Test1", type:"CheckboxItem", value:"true", required:true, labelAsTitle:true
},
{ name: "Test2", title: "Test2", type: "StaticTextItem", value:"1"}
]
});
Best
Pavo
Comment