Skip to content
Discussion options

You must be logged in to vote

I can indeed reproduce the issue. Indeed the Slint compiler still sees a binding loop.

One way to prevent it is to wrap the Image in a Rectangle:

     Rectangle {
            Image {
                x: 0;
                y: 0;
                source: Logic.render_plot(...);
            }
        }

that rectangle will not inherit the sizes from the image so it should work.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@ogoffart
Comment options

@oswald2
Comment options

@ogoffart
Comment options

Answer selected by oswald2
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants