Skip to content

Theming and Style memory (started: Progress Bar Bug) #32

@electricalhog

Description

@electricalhog

I did a local merge of main into theming_style to see if I could get my usual watch configuration to work with the new theming changes. I got it to work with no app loaded, but trying to load level, I came across the error:

Traceback (most recent call last):
File "code.py", line 142, in
File "tg_gui_platform/root_wrapper.py", line 166, in _std_startup_
File "tg_gui_core/root_widget.py", line 86, in _std_startup_
File "tg_gui_core/root_widget.py", line 112, in _build_
File "tg_gui_core/layout.py", line 64, in _build_
File "tg_gui_std/pages.py", line 127, in _build_
File "tg_gui_core/layout.py", line 64, in _build_
File "tg_gui_platform/progress_bar.py", line 73, in _build_
File "tg_gui_platform/progress_bar.py", line 83, in _update_progress
TypeError: 'float' object is not callable

From my testing, the variable progress that was being called had a value 0.0 as set in lines 57 and 65 of progress_bar.py instead of being some kind of stateful object or whatever else it should be.
I think I've seen styling changes work with progress bars so maybe its a me thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    API-enhancementNew feature proposal or request for the public TG-Gui interface

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions