wood burning stoves*
The moose likes Struts and the fly likes Combobox height is not changing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Combobox height is not changing" Watch "Combobox height is not changing" New topic
Author

Combobox height is not changing

Aalok Mishra
Ranch Hand

Joined: Dec 23, 2008
Posts: 41
Hi All,

I am trying to populate a combobox using struts tag. The backend table has so many rows in it hence the list is quite big. The problem is like when I try to set the size of the combo box then it changes the look of combo box. Can any one help me out of this?
My code is as follws:



Thanks and Regards,
Aalok Mishra
InfoCepts, LLC
Brahmani Ganduri
Greenhorn

Joined: Dec 10, 2008
Posts: 17
You can use the 'style:width and height' attribute to set the look of the combo box.
I think that will do.
Aalok Mishra
Ranch Hand

Joined: Dec 23, 2008
Posts: 41
Thanks for your reply buddy!

But there is one small problem here. The width can be set using style but height does not work with style. Again the combo box do not support the height attribute all alone.
Brahmani Ganduri
Greenhorn

Joined: Dec 10, 2008
Posts: 17
Aalok Mishra wrote:Thanks for your reply buddy!

But there is one small problem here. The width can be set using style but height does not work with style. Again the combo box do not support the height attribute all alone.


Even height can be set using 'style'. It definitely works. Both height and width go together in style attribute.
,"width:25;height:30"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Combobox height is not changing