Community
Participate
Working Groups
Bugzilla – Bug 275285
enhance the list widget to support image and text
Last modified: 2009-05-11 09:12:37 EDT
We often want to show a list of images or images with text,but there is still none widget to support this simple and fundamental function.A possible workaround is using a table widget instead of list widget. However,it is still necessary and import to enhance the list widget.If the list widget can support image and text,then everything about showing images would be easy.
Why can't you use a Table ?
(In reply to comment #1) > Why can't you use a Table ? > Yes,the table certainly can fulfil this function.But don't you think that it is just a workaround and showing images would be a very fundamental function which many people often want to use and they usually first consider the list widget rather than table widget?
List widget should be renamed "ListOfStrings" because that's what it is on every platform. It dates back to Windows 3.1 and Motif. You can see it today in the basic list control for the browsers (ie no icon).
(In reply to comment #3) > List widget should be renamed "ListOfStrings" because that's what it is on > every platform. It dates back to Windows 3.1 and Motif. You can see it today > in the basic list control for the browsers (ie no icon). > In the early version of SWT,Button widget can only show text other than image,but new Button widget can show both now. Though we can say that List is just a widget to show a list of strings and should not do anything more.But if it can support a list of images or images and text,don't you think it's a wonderful feature like the Button widget?
Table is just a workaround but not a complete solution.
(In reply to comment #5) > Table is just a workaround but not a complete solution. Table is the solution. In the Button case the user didn't have an option. Please, before you open this problem again, give one valid reason why you can't use a Table to show images+text.