[REVIEW REQUEST] Add support for an emptyText property in ComboBox
phdoerfler at gmail.com
Tue Feb 19 15:44:09 PST 2013
You're probably right about the implementation detail. The use case I was thinking of is filtering. A ListView containing kittens could then have a default line saying "No kitten matched your query". That's the only use case I can think of right now, though. And even this is not hard to implement manually.
Am 20.02.2013 um 00:36 schrieb Jonathan Giles <jonathan.giles at oracle.com>:
> Thanks for the name suggestions - unfortunately I just pushed to the repo as emptyText, which remains my preference.
> I can't see the use case for ListView - surely this is something that is better served as an implementation detail inside an application, rather than something baked into the control. Is there a use case I'm not seeing?
> -- Jonathan
> On 20/02/2013 12:28 p.m., Philipp Dörfler wrote:
>> Sounds good.
>> Some alternate naming suggestions:
>> - listPrompt
>> - emptyListText
>> Any chance something like this might be in ListView as well someday?
>> ~ Philipp
>> Am 19.02.2013 um 01:39 schrieb Jonathan Giles <jonathan.giles at oracle.com>:
>>> Hi all,
>>> I'm keen to add an 'emptyText' property to ComboBox. This property would be analogous to the 'promptText' property already supported, except that it would appear in the popup list area when the items list is empty (rather than in the text field when that is empty).
>>> I'm happy to accept alternate naming suggestions, as this is just the first name that occurred to me.
>>> -- Jonathan
More information about the openjfx-dev