You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to embed the editor into our existing application, where we have the editor in a popup dialog, and some input components on the side :
When click the paint, it will enter edit mode (become full screen automatically), can we not go into full screen but stick with the container size and only edit within the container?
After edit, it shows correctly in the component,
but if we click the paint icon again, you'll see the painting has shifted to left.
If we click OK and go back, it still shows correctly outside.
May I know is it a bug or limitation ? That we can only use the editor in full screen without other components?
And, is it possible to have control on the Cancel and OK button to hide them? Because we want to have our own control on the dialog level to save / cancel the image editing.
Thanks!
The text was updated successfully, but these errors were encountered:
Each subeditor, like the painting editor, opens a new page (Navigator.push(...)), so currently it's not possible to use the subeditor in the same size as the main editor.
The issue with the painting is a problem in the current version that happens when the editor size changes (as it happens when you open the subeditor). I already fixed this problem in the dev branch, because now the zero offset position of the layers is in the middle of the screen and not in the top left anymore.
To the part about “control the cancel and ok button”. Yes, it's possible to access the editor and all subeditors with a global key. To hide the buttons, you can create your own appbar that replaces the existing one, allowing you to use only the buttons you need. You can check out this example how to do it.
Btw, if you have more questions, I would appreciate it if you would open a new question in the discussions tab. I will also update the question template in the "Issues" tab so that users should open it there.
Platforms
No response
Your question
Hi Developer,
I tried to embed the editor into our existing application, where we have the editor in a popup dialog, and some input components on the side :
When click the paint, it will enter edit mode (become full screen automatically), can we not go into full screen but stick with the container size and only edit within the container?
After edit, it shows correctly in the component,
but if we click the paint icon again, you'll see the painting has shifted to left.
If we click OK and go back, it still shows correctly outside.
May I know is it a bug or limitation ? That we can only use the editor in full screen without other components?
And, is it possible to have control on the Cancel and OK button to hide them? Because we want to have our own control on the dialog level to save / cancel the image editing.
Thanks!
The text was updated successfully, but these errors were encountered: