# SD Webui Tabs Extension This is an Extension for the Automatic1111 Webui, which replaces the original Extension layout with a Tab system instead.
Also supports both old & new Forge
This was achieved by moving the contents of each Extension from the "Accordion" (the dropdown thingy) into their own separate Tabs, so that you only need to switch between each tab to change the settings, instead of scrolling all the way down and then all the way up every single time.
When an Extension or a Script is enabled, the respective Tab button will turn green* to indicate that. Additionally, you can Ctrl + Click
the Tab button to quickly toggle the Extension.
[!Note] This tries to find the first Checkbox with a label containing "enable" or "active" within the Extension. If one is not found, this feature will not be available for said Extension.
For ControlNet, this only works on the first Unit. Still thinking of a better solution...
After launching the Webui (including the browser, not just the console) with this Extension installed, it will generate a tab_configs.csv
file inside the folder. You can edit this file with any text editing program (eg. Notepad
) or a spreadsheet program (eg. Excel
), to change where each element is placed:
entries
tabs
entry controls where the buttons for the Tabs are placeddefault
entry controls where new Extensions should be placedScripts
entry refers to the Scripts dropdownExtra Options
entry refers to the Settings for txt2img/img2img
(if enabled in settings)placement
left
side refers to under the parameters (the original location)right
side refers to under the generation galleryabove
refers to above the tab buttons entrybelow
refers to below the tab buttons entryhide
will not show the extension instead
[!Note] Extensions set to
above
andbelow
will always be shown without tab buttons[!Important] If you edited the
.csv
file while the Webui is active, you should click Reload UI to apply the changes (not just refresh the browser)
Example Config:
txt | img | |
---|---|---|
tabs | left | right |
default | left | right |
ar-plus | above | above |
... | left | right |
... | left | right |
Scripts | below | below |
The settings are in the Tabs Extension section under the User Interface category
GreenYellow
)sorting_priority
variable); Enable this to sort them based on the order in the tab_configs.csv