Toggle Visibility of Checkbox Within User Widget Not Working

Hi,

I am having an issue with using a widget blueprint (UI menu) to toggle on/off the visibility of checkboxes. For example I have a red button and a blue button and I want to have their respective checkboxes state changed from ‘Collapsed’ to ‘Visible’ when I release click of the button. The checkboxes are all set to ‘Collapsed’ by default.

However when I hit Play the buttons show up fine but when I click on either the checkboxes don’t make themselves visible.

I’ve had mixed results from this as sometimes it works and sometimes it doesn’t. Am I missing something obvious. I am using version 4.9.2.

Thanks,
Dale

Hi Dale, you need to set every check box visible and every check box collapsed. At the moment you have one node doing the visible / collapse part and it would pick which ever first or not work at all.

I’d recommend instead to keep similar blueprint to what you have; however, place the checkboxes in a vertical box or canvas, that you have as a variable, and turn the whole box (containing the checkboxes) visible / collapsed.

Hope this helps.

Ah thank you!

It worked after putting into a canvas panel or vertical box as you said. Before I had all my checkboxes/buttons on the one canvas panel that were hidden and planned to just toggle them on/off when needed.