I made a custom widget which contains a form .I do not want the close button in right side of widget panel where we can maximize and close the widget .is there any way to remove the cross symbol from form widget??
Solved! Go to Solution.
Peter,
Add this css rule to your apps theme common.css
[install dir]\server\apps\[app#]\themes\[theme name]\common.css
Here is a sample rule for hiding the close button on widget _5.
#_5_panel.jimu-panel>.jimu-panel-title>.btns-container>.close-btn {
display: none
}
Peter,
Add this css rule to your apps theme common.css
[install dir]\server\apps\[app#]\themes\[theme name]\common.css
Here is a sample rule for hiding the close button on widget _5.
#_5_panel.jimu-panel>.jimu-panel-title>.btns-container>.close-btn {
display: none
}
Thanks Robert for answering!!.Suppose my widget name is Form so it would be #_Form_panel.....by doing this it gives error.
Sanchi,
The Id of the widget is not going to be something like "form" You can run your app and right click your widget and inspect the dom objects to find the id of your widgets panel.
sanchi gupta please see the answer above from Robert in the custom widgets community. Thanks!