You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Anbazhagan <an...@snovabits.net> on 2012/10/11 06:44:19 UTC

How to increase text field size.

Hi,

I am developing web application. In that web application I have designed a
login page with two fields(text field and password field).

code:  
<input t:type="TextField" t:id="username" t:label="Username:"
t:value="username" t:validate="required" size="30" />
<input t:type="PasswordField" t:id="password" t:label="Password:"
t:value="password" t:validate="required" size="30" />

I am using size parameter to increase the width and height of that two
fields. But it  increase only width of the two fields and one more problem
is, size is differ btw Iphone and android mobile devices. In android device
the two fields are overflow.

Please any one say how can I increase the width and height of that two
fields.



--
View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-increase-text-field-size-tp5716764.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to increase text field size.

Posted by Bob Harner <bo...@gmail.com>.
The members of this mailing list are always happy to help, but since
Tapestry produces standard HTML/XHTML for these elements, your
question is not really Tapestry-specific. You'll probably find better
support for HTML & CSS questions on HTML & CSS forums.

On Thu, Oct 11, 2012 at 5:16 AM, Jay Ginete <ki...@gmail.com> wrote:
> Use media queries in your CSS to figure out what width and height your
> fields should be.
>
>
> On Thursday, 11 October, 2012 05:13 PM, Anbazhagan wrote:
>>
>> Thanks for your reply..
>>
>> I want visual height display. Now I am using css style(padding-top and
>> padding-left) to increase width and height.
>>
>> But it is not fit for all devices. So please give me your valuable
>> suggestion.
>>
>>
>>
>> --
>> View this message in context:
>> http://tapestry.1045711.n5.nabble.com/How-to-increase-text-field-size-tp5716764p5716772.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to increase text field size.

Posted by Jay Ginete <ki...@gmail.com>.
Use media queries in your CSS to figure out what width and height your 
fields should be.

On Thursday, 11 October, 2012 05:13 PM, Anbazhagan wrote:
> Thanks for your reply..
>
> I want visual height display. Now I am using css style(padding-top and
> padding-left) to increase width and height.
>
> But it is not fit for all devices. So please give me your valuable
> suggestion.
>
>
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-increase-text-field-size-tp5716764p5716772.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to increase text field size.

Posted by Anbazhagan <an...@snovabits.net>.
Thanks for your reply..

I want visual height display. Now I am using css style(padding-top and
padding-left) to increase width and height.

But it is not fit for all devices. So please give me your valuable
suggestion.



--
View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-increase-text-field-size-tp5716764p5716772.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to increase text field size.

Posted by nquirynen <na...@pensionarchitects.be>.
What do you mean with height; more rows? Then you can use a TextArea with
rows and cols attributes.
If you just want visual height of the text TextField then you'll need CSS.
Why can't you use CSS?



--
View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-increase-text-field-size-tp5716764p5716771.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to increase text field size.

Posted by Anbazhagan <an...@snovabits.net>.
Thanks for your reply.

Is possible to achieve using tapestry without using css.



--
View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-increase-text-field-size-tp5716764p5716766.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to increase text field size.

Posted by Jay Ginete <ki...@gmail.com>.
Use CSS to change the width.

On Thursday, 11 October, 2012 12:44 PM, Anbazhagan wrote:
> Hi,
>
> I am developing web application. In that web application I have designed a
> login page with two fields(text field and password field).
>
> code:
> <input t:type="TextField" t:id="username" t:label="Username:"
> t:value="username" t:validate="required" size="30" />
> <input t:type="PasswordField" t:id="password" t:label="Password:"
> t:value="password" t:validate="required" size="30" />
>
> I am using size parameter to increase the width and height of that two
> fields. But it  increase only width of the two fields and one more problem
> is, size is differ btw Iphone and android mobile devices. In android device
> the two fields are overflow.
>
> Please any one say how can I increase the width and height of that two
> fields.
>
>
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-increase-text-field-size-tp5716764.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org