Hi there.
Here is a simple test case:
This code does NOT cause any warnings:
This code does cause the warning:
The warning I get several times during rendering / drawing is:
[ERROR] [XIT] - 16:19:47.980:WARN:DynamicForm:isc_RelativeDateItem_0_editor:ignoring bad or negative width: -4 [enable 'sizing' log for stack trace]
I tried reviewing the stack trace in the Console but I cannot figure out why this would occur. There are no other components (aside from the fact that this Layout is inside a tabset) and so should not cause a sizing warning.
Thoughts?
Thanks.
Here is a simple test case:
This code does NOT cause any warnings:
Code:
VLayout layout = new VLayout(); DynamicForm form = new DynamicForm(); final DateRangeItem rangeItem = new DateRangeItem(); rangeItem.setShowTitle(false); // rangeItem.setAllowRelativeDates(true); /* Commented out */ form.setItems(rangeItem); layout.addMember(form);
Code:
VLayout layout = new VLayout(); DynamicForm form = new DynamicForm(); final DateRangeItem rangeItem = new DateRangeItem(); rangeItem.setShowTitle(false); rangeItem.setAllowRelativeDates(true); /* This line causes the warning */ form.setItems(rangeItem); layout.addMember(form);
[ERROR] [XIT] - 16:19:47.980:WARN:DynamicForm:isc_RelativeDateItem_0_editor:ignoring bad or negative width: -4 [enable 'sizing' log for stack trace]
I tried reviewing the stack trace in the Console but I cannot figure out why this would occur. There are no other components (aside from the fact that this Layout is inside a tabset) and so should not cause a sizing warning.
Thoughts?
Thanks.
Comment