Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawable Objects going off the canvas during Container resizing and do not positioned correctly #50

Open
sandundev opened this issue Feb 21, 2023 · 2 comments

Comments

@sandundev
Copy link

I noticed that the drawable object do not automatically resize during the main container resizing.

For an example I change the main container widget size during orientation change to use the max space available. background image is resized correctly. However drawable objects are not being resized and are not re-positioned when the parent widget size change.

Is there any solution to fix this unexpected behaviour?

image

@sandundev sandundev changed the title Drawable Objects going off the canvas during Container resizing and do not positioning correctly Drawable Objects going off the canvas during Container resizing and do not positioned correctly Feb 21, 2023
@coder-with-a-bushido
Copy link

@sandundev Did you manage to find a solution to this?

@pulpcorn
Copy link

To change the size of any drawing object, you must set the Size parameter value in the Painter class.

Painter class located on: flutter_painter/lib/src/views/painters/painter.dart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants