After studying long hours both the documentation and the source codes of flask-admin and wtforms, I still could not understand how to vary the size of input fields in flask-admin model forms.
According to wtf "crash course" page, it should be possible to pass to the form fields css parameters in the templates, like this (jinja2 example):
<form method="POST" action="/login">
<div>{{ form.username.label }}: {{ form.username(size="10") }}</div>
<div>{{ form.password.label }}: {{ form.password() }}</div>
</form>
however, with Flask-Admin form fields / templates this does not seem possible. At least I have not found a decent way to do this
Any advice would be appreciated