commontk / CTK

A set of common support code for medical imaging, surgical navigation, and related purposes.
https://commontk.org
Apache License 2.0
827 stars 480 forks source link

ctkCollapsibleGroupBox Arrows Missing #1198

Open bytehammer2 opened 3 months ago

bytehammer2 commented 3 months ago

When an application is compiled utilizing a ctkCollapsibleGroupBox (with other widgets contained within) it displays a check box rather than arrows, but if you have a child ctkCollapsibleGroupBox within the parent ctkCollapsibleGroupBox the arrows are shown only in the child ctkCollapsibleGroupBox(-es), but not the parent ctkCollapsibleGroupBox, it still displays a checkbox.

The application used Qt Designer to create the UI. Strangely, in the Qt Designer this behavior doesn't occur, i.e., both parent and child ctKCollapsibleGroupBoxes displays the appropriate expand/collapse arrows when previewed.

I'm using Visual Studio 2022 version 17.8.1, and Qt 5.15.2.