Can't get m5Dial to display an image loaded via UIFlow2
-
Referindo: Can't get m5Dial to display an image loaded via UIFlow2
Hi everybody,
I think UIFlow V2.3.1 has a major bug in the UI Component Image.
When you insert an image, the following Python code is created:
image0 = Widgets.Image("/flash/res/img/default.jpg", 139, 115, scale_x=1, scale_y=1)
Python only has the path to the image, and the x and y coordinates as parameters.
That's why the following error appears when compiling:
TypeError: extra keyword arguments givenYou have to change the python code manually to:
image0 = Widgets.Image("/flash/res/img/default.jpg", x=1, y=1)I think this kind of error in UiFlow is unacceptable.
Adding a UI Component and then having to manually change the Python code!
Has anyone else experienced this issue?Thanks.
Fernando Cardoso