hi gil,

Am Montag, den 04.04.2011, 10:33 +0200 schrieb Gil Forcada:
> Is there any way to specify the size of a widget with form hints or I
> should subclass/create a form on my own?

you can set the size of the widget with updateWidgets, e.g.

class AddForm(dexterity.AddForm):
    [...]

    def updateWidgets(self):
        super(AddForm, self).updateWidgets()
        self.widgets['the-widget'].size = 20

best,
marco


_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/product-developers

Reply via email to