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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login