-
3 Feb 2012 2:26 AM #1
Rows with checkboxes or radio buttons have different heigts than rows containing ...
Rows with checkboxes or radio buttons have different heigts than rows containing ...
... textfields
thats not a bug, it's more an improvement.
In a form containing several lines with checkboxes the line height is smaller than rows, that contain text fields. That looks a little bit pressed and not really nice.
Or did I miss something?
Presswurst.png
In GXT 2.2.x it looks like that:
NotPressWurst.png
-
5 Feb 2012 2:03 AM #2
From the difference in the screenshots I would say that setting some margins will cause the same appearance as in GXT 2?
-
6 Feb 2012 12:28 AM #3
I think, you are right. This will solve it.
But this will increase the among of code needed to create forms. I would prefer, that the checkbox has the same line height as as other form elements.
-
6 Feb 2012 6:58 AM #4
I'm not sure if it is a best solution, but if you need the same layout on a lot of fields you could inherit FieldSet and override the add method to do this. Not the most elegant solution, but it will work without any problems.
I'll probably soon test how to use my GUI factories with uibinder, but I think my answer will end up in @UiField(provided=true) and then set the field like that. I think that would be a more elegant solution.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote