It makes it end up looking like this when using a dropdown:

Wide Dropdown <http://i.imgur.com/qKRRpST.png>



On Monday, 13 April 2015 06:35:05 UTC+1, Gary Cowell wrote:
>
> Hi
>
> Running with:
>
>
> 2.10.3-stable+timestamp.2015.04.02.21.42.07
>
> (Running on Rocket 1.2.6, Python 2.7.5) 
>
>
> I find that this code:
>
>     xadb = DAL('sqlite:memory:')
>     xadb.define_table('regiontable', Field('region', length=20,label=
> 'Region'))
>
>     form = SQLFORM.factory(SQLField('Region', label='Select a region', 
> length=20,
>        requires=IS_IN_DB(xadb,'regiontable.region',orderby=xadb.
> regiontable.region)),
>        formstyle='bootstrap3_inline'
>     )
>
> Produces a drop-down that is the entire width of the page when viewed in 
> Firefox.  Same for bootstrap3_stacked
>
> The 'classic' formstyles, of table2cols, table3cols etc. don't look as 
> nice, don't have the bootstrap button, but they produce fields of the 
> correct width.
>
> Is this a bug in the bootstrap3 , or did I need to do more to my 
> SQLFORM.factory to get the correct width?
>
> Thanks
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to