KaiWeing
12 Aug 2010, 4:05 AM
Hello,
When building a form, I recognize that some form fields get styled with a font-family by the gxt-all.css and some don't.
I would expect the font-family to be consistent throughout a form (or even throughout the whole app).
E.g.: A Radio-Control gets its font-family through its class x-form-cb-label, but a FormLabel does not get its font-family through its class x-form-label.
Both Fields also don't inherit the class x-form-field from Field, which also sets the font-family and would IMHO be a good place to define a consistent font-family.
I'm using gxt-2.1.1 (but according to the changelog, this has not been adressed yet).
Best regards, Kai
When building a form, I recognize that some form fields get styled with a font-family by the gxt-all.css and some don't.
I would expect the font-family to be consistent throughout a form (or even throughout the whole app).
E.g.: A Radio-Control gets its font-family through its class x-form-cb-label, but a FormLabel does not get its font-family through its class x-form-label.
Both Fields also don't inherit the class x-form-field from Field, which also sets the font-family and would IMHO be a good place to define a consistent font-family.
I'm using gxt-2.1.1 (but according to the changelog, this has not been adressed yet).
Best regards, Kai