Open bredelings opened 4 years ago
Is there a reason for not just using the TableViewItem's text
?
Yeah, I want to replace one of the Labels with a ComboBox, so that we see "none" if the condition is true, and a ComboBox otherwise. The above code is more like a reduced test case.
In other cases, I want to implement something where the cell is normally text, but when you double-click you get a ComboBox to select the item, after which it reverts to text. it might be possible to implement this via Menu instead though.
If I put a Container inside a TableViewItem, then the resulting cell is empty and just displays a white background.
I tried putting two Label items inside the TableView, and in that case it displayed the second Label.
I trued putting two Conditionals inside the TableView, with opposite conditions, so that only only condition is true at a time, and it starts by displaying the first Conditional, but when I toggle the condition, I just get an empty cell: