cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing size of input field.

Former Member
0 Kudos

Hi All,

I am trying to customize the size of the input field so that it can resemble a text area. Can this be done by adjusting height and width of the input field properties. I tried random numbers 30/70, etc but the properties are always blank.

Any help is appreciated.

Kind Regards.

Srinivas

Accepted Solutions (1)

Accepted Solutions (1)

abhijeet_mukkawar
Active Contributor
0 Kudos

hi,

you want to costumise input field, that means you want to let user fill some value in that,

so go for TextEdit Ui element, here you can set its row and cols property to match your criteria , adjusting them can even make it look like input field,

regards

Former Member
0 Kudos

The reason I am going for input field is that I need to request focus on a user action (bring cursor on the textedit UI element which is not possible with textedit).

Also I tried the TextView UI element, but still I cannot increase the height and width.

Can you guys tell me how to go about increasing the size of either input field or textview.

I am using the layoutdata as "MatrixHeadData"

Thanks all for your replies. Points rewarded

abhijeet_mukkawar
Active Contributor
0 Kudos

hi buddy,

as you are using matrix layout, you can set its width property in terms of %, .eg,

50%, 100% etc,

same way you can also set the property of input field in terms of %, try using it , it will work

regards

Former Member
0 Kudos

Hi Abhijeet,

Thanks for your reply. I tried increasing the height to 100%. Even then its the same default. Although, I was able to increase the width successfully.

Can you tell me how to increase the height of the input field.

Thanks and Regards. Points rewarded.

Srinivas

abhijeet_mukkawar
Active Contributor
0 Kudos

hi Shrinu,

I dont think it is possible to increase the height of input field,

regards

Former Member
0 Kudos

Thanks for your reply!

Srinivas

Answers (2)

Answers (2)

former_member189631
Active Contributor
0 Kudos

Hi Srinivas,

You can change the size of the inputfield by setting the <b>size</b> Property.

Regards,

Ram.

former_member720137
Active Participant
0 Kudos

Hi

Instead of using Input Field.. Try using TextView UI Element..

U can adjust it to resemble as a text area..

Reward Points if its helpful

Thanks

Puneet