Hi I am hoping someone can help me with how to use ctk collapsible buttons in qt designer when trying to design a UI for a scripted module.
I first drag and drop a ctk collasible button into the UI area. Then I have to increase the collapsed height setting to make it bigger in height to actually fit anything inside. I then drag buttons and drop down boxes etc into it.
My problem is when I load the module in slicer all the buttons etc in the collapsible button do not expand and contract when I drag the width of the module UI pane bigger and smaller. The buttons just stay the same size and either partially get hidden when I drag the module UI really small or there is lots of white space next to them when I drag the UI really wide.
This was never a problem for me when making a scripted module UI the old fashioned way with code instead of qt designer. All the buttons etc in my collapsible buttons would change size nicely when I dragged the slicer module UI pane wider and narrower.
I have tried playing around with settings in qt designer and cant get anything to work.
Hopefully my description makes sense.
Thanks