A quickie: how does one specify a custom field size (width and height) in a schemata using Dexterity?
For example, a textarea (schema.Text) width is set to 100%. I'd like to specify a default width and height, to make it more useful.
How does one achieve this? I tried looking into plone.directives.form, but couldn't find anything.开发者_开发知识库
The 100% width is actually coming from public.css, and not anything in Dexterity or z3c.form. If you want to override it, you could do so with your stylesheet, or if it is specific to that particular field, you could specify the "style" attribute in your field schema to supply field-specific inline CSS.
精彩评论