Style Tab not visible in dialog when component is added using data-sly-resource
I have created a custom gallery component and added custom button component to it, (sling:ResourceSuperType as Core button component) using data-sly-resource as below.
<sly data-sly-resource="${ 'deselectButton' @ resourceType='myproject/components/button', decoration=true}"></sly>
1. For button component i have added style system and able to use it properly when i add button component directly on page.
2. Now, I have added gallery component on a page, and it has button component inside it, when I open the dialog, I'm not able to see styles tab, however, I'm able to see the paint brush icon when I hover on edit mode and add styles, but my problem statement is not able to view styles tab in button component dialog until I add some style using the paint brush icon.
Please let me know if there are any solutions.