cancel
Showing results for 
Search instead for 
Did you mean: 

Changing length of drop down by index /Key UI Element

Former Member
0 Kudos

Hi Experts ,

I want 4/5 drop down by index UI elements of different lengths in my application . But it seems that all drop down by index UI elements have fixed length . How to change this length ?

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kendurkar,

Set its width property to as much as you want.

and what is your WAS version.

In WAS with sp7 or lower this property is not available.

Regards,

Bhavik

Message was edited by: Bhavik Devisha

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Experts ,

Thanks for your suggestions !

Changing the width property can change the length of drop down box . but here unit of this property is in pixeles i.e. if I set width to 40 it means 40px. so to set length as char 10 , what px should I set?

Thanks in advance.

Former Member
0 Kudos

u can set the width either in % or px.

Try giving some 60-70px

Former Member
0 Kudos

Hi Kendurkar,

Try giving some values like 50px to 70px and then check by running your application. You will get excat figure.

Regards,

Bhavik

Former Member
0 Kudos

Hi,

Standard settings will only let you specify either of 2 sizes Standard or Small. For setting four different sizes you can create extended value selectors. Here you only create an InputField UI element which lets you specify the size of whatever length you require.

Former Member
0 Kudos

I think the length of the dropdowns depend on the length of the text it holds.If the width set is smaller, it will grow to the length of the longest text it contains.