Question

CCombo

Why is the last item blank? I only have 3 items (it's a tri-state boolean editor).


Combo1

Can a CCombo achieve this solid Combo look and feel?


Combo2

As a combo cell editor, I would prefer the regular Combo, BUT:
Can this Combo be used as CellEditor, while fitting the table row height? (maybe making the Font smaller?)

Was it helpful?

Solution

The default visible item count for CCombo is 5, try calling setVisibleItemCount(3).

CCombo does not support much customization. It always sets the same colors for the list and the text for example.

The look of Combo varies a lot between platforms, the Mac version might look odd in a table column. Combo does support setting the font but I don't know if that would work.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top