-
10 May 2009 7:21 AM #1
[CLOSED] setIntStyleAttribute on a TextField only affect the text box, not the label
[CLOSED] setIntStyleAttribute on a TextField only affect the text box, not the label
name.setEmptyText("A short description of the task");
name.setFieldLabel("Some Label");
// we have to do it at this level because otherwise gxt styles take over
name.setIntStyleAttribute("margin-top", 10);
The margin-top will only apply to the TextBox, not the entire Field entry (Field Label+Text Box).
This is in the build from last night.
Ben
-
10 May 2009 7:23 AM #2
This is not a bug. The label is bound to the layout and not to the component.
And that is correct. As you set the margin on the component, the textfield.The margin-top will only apply to the TextBox, not the entire Field entry (Field Label+Text Box).
-
10 May 2009 7:26 AM #3
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote