Avatar of abuyusuf
abuyusuf

asked on 

Setting length for text displayed with s:select

We are using a struts select tag displaying several pieces of text in a drop down - we need some way of limiting the width of the text in the select box. Is there anyway to accomplish this ?
Thanks
Microsoft ExcelJava

Avatar of undefined
Last Comment
Mick Barry
Avatar of for_yan
for_yan
Flag of United States of America image


I this there is a size attribute which should do it
see here:
http://struts.1045723.n5.nabble.com/Newbie-Q-Rendering-drop-down-menu-td3427495.html
Avatar of abuyusuf
abuyusuf

ASKER

Hi - Thanks for the response. The size attribute is part of the s:select struts tag but is used for the number of elements in the drop down and not the width. I need something for the width of strings in the drop down. Thanks
Avatar of for_yan
for_yan
Flag of United States of America image

Sorry, I missed the width part, thought you need to limit the list
ASKER CERTIFIED SOLUTION
Avatar of for_yan
for_yan
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Microsoft Excel
Microsoft Excel

Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.

144K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo