[Flask] Form question

Craig Amundsen amundsen.craig at gene.com
Wed May 24 10:42:14 EDT 2017


Yes I am.

I've found some google hits where people want to adjust the size of
individual form elements, but nothing that addresses the overall width of
the form.

- Craig


On Wed, May 24, 2017 at 7:37 AM, Corey Boyle <coreybrett at gmail.com> wrote:

> That would be a "styling" issue that would be addressed with CSS. Are you
> using Bootstrap?
>
> On May 24, 2017 9:45 AM, "Craig Amundsen" <amundsen.craig at gene.com> wrote:
>
>> Hi -
>>
>> I'm writing a flask app where the main part of the display contains three
>> columns, 2 narrow ones with relatively unchanging content on either side of
>> a wider column where most of the action occurs. I am basing my app on the
>> example code from Grinberg's most excellent book.
>>
>> I've noticed that the default layout for forms make the form elements
>> much narrower than the containing div and groups them to to the left. This
>> is fine when I don't have my three column layout, but with it, I get very
>> tiny form elements.
>>
>> My question: Is there a way to tell wtf-forms to use the entire width
>> that is available rather than just the left hand side?
>>
>> Thanks,
>> - Craig Amundsen
>>
>> _______________________________________________
>> Flask mailing list
>> Flask at python.org
>> https://mail.python.org/mailman/listinfo/flask
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20170524/fe4a6a55/attachment.html>


More information about the Flask mailing list