How to add a new tabitem in txt2img_header? #216
-
Hi. I would like to add a custom tabitem in the txt2img_header for txt2img and make a custom sub-tab of my own (a new one along side from Prompts, Parameters, Scripts / Extensions). Where in the project files should I be looking into in order to do so? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi you should look at the Create a button entry to the layout
Create a view to display your module
|
Beta Was this translation helpful? Give feedback.
Hi you should look at the
template-txt2img-params.html
for the button add one and define the tabview-tabItemId and the tabGroup
tabItemId acts as a target container and tabGroup as a shorthand iterator to show the active one from that group
Create a button entry to the layout
Create a view to display your module