SQLFORM labels and input boxes overlapping

21 views
Skip to first unread message

Jon Subscripted

unread,
Apr 16, 2020, 11:11:41 AM4/16/20
to web...@googlegroups.com
Hi everyone,
In some of my views using SQLFORM, specially when the label text is not short, the input box overlaps and covers part of the label text.

How can I avoid this?

As this is automatically generated HTML, I do not have clear where should I look.
Regards, Jon.

Libre de virus. www.avast.com

Dave S

unread,
Apr 16, 2020, 5:21:24 PM4/16/20
to web2py-users


On Thursday, April 16, 2020 at 8:11:41 AM UTC-7, Jonsubs wrote:
Hi everyone,
In some of my views using SQLFORM, specially when the label text is not short, the input box overlaps and covers part of the label text.

How can I avoid this?

As this is automatically generated HTML, I do not have clear where should I look.
Regards, Jon.

Look in the book for the _style keyword for some helpers.  You can use it to set widths.  I do something like with SQLTABLE to adjust column widths.

/dps

Jon Subscripted

unread,
Apr 17, 2020, 3:21:12 AM4/17/20
to web...@googlegroups.com
Thanks Dave, I'll check it out!

Libre de virus. www.avast.com

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/dc5f7f99-554a-4251-9a1c-e42e0a3efab6%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages