Never mind. I tried to cut some corners reusing a combobox for a
checkbox list popup but this got too complicated. I am using a
ComboBoxBase extending class now.
Unfortunately it is still quite hard to determine a useful listview size
for the popup. The original combobox uses package private
Jasper,
a listview does not seem to use a ScrollPane. That's what its
virtualization effort is about, using the VirtualFlow instead. Or do you
mean I should nest the popup listview in a scrollpane?
The MenuButton approach would be completely different and seems to have
a few disadvantages
You could try
http://docs.oracle.com/javafx/2/api/javafx/scene/control/ScrollPane.html#setFitToWidth(boolean)
Or what about using MenuButton with check box menu items?
Jasper
On Sep 16, 2013, at 5:44 AM, Werner Lehmann lehm...@media-interactive.de
wrote:
Never mind. I tried to cut some
Hi,
I am displaying checkboxes in the popup of a combobox via custom cell
factory. Only problem is that a click on the checkbox actually hides the
popup, even before that checkbox was selected. As I can see, the
combobox skin has a MOUSE_PRESSED event filter which hides the popup.
Current