          We also set some default styles for our tree view.
          """
          theme = get_config().user_theme["settings_popup"]
          style = ttk.Style()
          fix_map = lambda o: [elm for elm in style.map("Treeview", query_opt=o)  # noqa
                               if elm[:2] != ("!disabled", "!selected")]
  
          # Remove the Borders
          style.configure("ConfigNav.Treeview", bd=0, background="#F0F0F0")
 
</s> remove         style.map("Treeview", foreground=fix_map("foreground"), background=fix_map("background"))
        style.map('Treeview', background=[('selected', theme["header_color"])])
 </s> add  </s> remove                                style=".SPanel.Header1.TLabel")
 </s> add                                style="SPanel.Header1.TLabel") </s> remove _DEFAULTS = {
    "features": {
        "default": "best",
        "info": "Higher settings will allow learning more features such as tatoos, piercing,"
                "\nand wrinkles."
                "\nStrongly affects VRAM usage.",
        "datatype": str,
        "choices": ["lowmem", "fair", "best"],
        "gui_radio": True,
        "fixed": True,
    },
    "details": {
        "default": "good",
        "info": "Defines detail fidelity. Lower setting can appear 'rugged' while 'good' "
                "might take onger time to train."
                "\nAffects VRAM usage.",
        "datatype": str,
        "choices": ["fast", "good"],
        "gui_radio": True,
        "fixed": True,
    },
    "output_size": {
        "default": 256,
        "info": "Output image resolution (in pixels).\nBe aware that larger resolution will "
                "increase VRAM requirements.\nNB: Must be either 128, 256, or 384.",
        "datatype": int,
        "rounding": 128,
        "min_max": (128, 384),
        "choices": [],
        "gui_radio": False,
        "fixed": True,
    },
}
 </s> add _DEFAULTS = dict(
    features=dict(
        default="best",
        info="Higher settings will allow learning more features such as tatoos, piercing and "
             "wrinkles.\nStrongly affects VRAM usage.",
        datatype=str,
        choices=["lowmem", "fair", "best"],
        group="settings",
        gui_radio=True,
        fixed=True,
    ),
    details=dict(
        default="good",
        info="Defines detail fidelity. Lower setting can appear 'rugged' while 'good' might take "
             "a longer time to train.\nAffects VRAM usage.",
        datatype=str,
        choices=["fast", "good"],
        group="settings",
        gui_radio=True,
        fixed=True,
    ),
    output_size=dict(
        default=256,
        info="Output image resolution (in pixels).\nBe aware that larger resolution will increase "
             "VRAM requirements.\nNB: Must be either 128, 256, or 384.",
        datatype=int,
        rounding=128,
        min_max=(128, 384),
        choices=[],
        group="settings",
        gui_radio=False,
        fixed=True,
    ),
)
        # Fix a bug in Tree-view that doesn't show alternate foreground on selection
          We also set some default styles for our tree view.
          """
          theme = get_config().user_theme["settings_popup"]
          style = ttk.Style()
        # Fix a bug in Tree-view that doesn't show alternate foreground on selection
          fix_map = lambda o: [elm for elm in style.map("Treeview", query_opt=o)  # noqa
                               if elm[:2] != ("!disabled", "!selected")]
  
          # Remove the Borders
          style.configure("ConfigNav.Treeview", bd=0, background="#F0F0F0")
keep keep keep add keep keep keep keep keep
 GUI Bugfix - Stop settings colors leaking into analysis. 
lib/gui/popup_configure.py