Confusing QExpansionItem docs



  • In the QExpansionItem docs, Content section, the first two items are icon and expand-icon. Their descriptions are identical. In addition, the similarly named expanded-icon adds to the confusion. Maybe some more clarification in the docs would be helpful. Thanks!



  • @rubs icon is the one in the left before the header, expand-icon is the one on the right, expanded is if you want to show a different icon when qexpansionitem is expanded. Difference of expand and expanded is no animation if you use expanded as stated in the docs. It prolly need a distinct definition, but the naming kinda gives it all away imo. If you’re up for a pr, that would be cool.


Log in to reply