Re: [web2py] Re: change the size of a text field in a form

2017-03-18 Thread Maurice Waka
I had the same problem and changed but noted that the button 'submit' disappears.any help on how to sort this hout On Tuesday, January 19, 2016 at 7:00:10 PM UTC+3, Richard wrote: > > And why not : > > > textarea { > width: 1320px; > height: 70px; > } > > > You don't need js for

Re: [web2py] Re: change the size of a text field in a form

2016-10-24 Thread Richard Vézina
F5 or Ctrl+R or delete cache may help sometimes... But it hards to know what you may doing wrong without any code... Richard On Mon, Oct 24, 2016 at 12:56 PM, Steven Vannoy wrote: > This is exactly what I'm trying to do, none of the suggestions below has > changed my

[web2py] Re: change the size of a text field in a form

2016-10-24 Thread Steven Vannoy
This is exactly what I'm trying to do, none of the suggestions below has changed my form view at all. Must be doing something wrong. I'm trying to avoid using a custom.widget so I don't have to specifically layout everyone of my fields, there are over 30, but I want them to be a fixed width so

Re: [web2py] Re: change the size of a text field in a form

2016-01-19 Thread Richard Vézina
Don't know if there is anything include in bootstrap now for elastic textarea (I doubt)... Regarding responsiveness, I don't think simple size change from css override will bring any issue, except it it lead to the overriding of the responsive behavior of course. Richard On Tue, Jan 19, 2016 at

Re: [web2py] Re: change the size of a text field in a form

2016-01-19 Thread Ron Chatterjee
It we have a table with text and string...text will remain same and string will shrink. Unless all of them are changed equally. On Tuesday, January 19, 2016 at 5:02:29 PM UTC-5, Richard wrote: > > Don't know if there is anything include in bootstrap now for elastic > textarea (I doubt)...

Re: [web2py] Re: change the size of a text field in a form

2016-01-19 Thread Ron Chatterjee
Only one thing to be careful of. I believe...If someone use the default scaffolding css and create the form its responsive by default. Means, you open the browser and roll back and see the form shrinks with you. Which is pretty good in a sense that no one needs to have a tablet version or

[web2py] Re: change the size of a text field in a form

2016-01-19 Thread Ron Chatterjee
Add this to your view: $('textarea').css('width','1320px').css('height','70px'); Should change the size. On Thursday, May 17, 2012 at 5:59:11 PM UTC-4, Pystar wrote: > > I would suggest you using custom forms in your view and targeting the > attribute you wish to change with CSS. I find that

Re: [web2py] Re: change the size of a text field in a form

2016-01-19 Thread Richard Vézina
And why not : textarea { width: 1320px; height: 70px; } You don't need js for that... Also consider make your textarea elastic there is js plugins for that... :) Richard On Tue, Jan 19, 2016 at 10:38 AM, Ron Chatterjee wrote: > Add this to your view: > >

[web2py] Re: change the size of a text field in a form

2012-05-17 Thread Pystar
I would suggest you using custom forms in your view and targeting the attribute you wish to change with CSS. I find that approach more flexible. In the view: {{=form.custom.begin}} ###you can include normal HTML here to build up the form elements and target it with CSS or textarea id=#,

[web2py] Re: change the size of a text field in a form

2012-05-16 Thread Anthony
You can do it via CSS: textarea {width: 400px;} Anthony On Wednesday, May 16, 2012 11:59:14 AM UTC-4, Marco Prosperi wrote: hello, how can I change the default size of a 'text' field in a form? (at first appearance, not dragging the corner) thanks Marco