hm21 / pro_image_editor

The pro_image_editor is a Flutter widget designed for image editing within your application. It provides a flexible and convenient way to integrate image editing capabilities into your Flutter project.
https://hm21.github.io/pro_image_editor/
BSD 3-Clause "New" or "Revised" License
119 stars 69 forks source link

[Bug]: button overflowing #173

Closed HeropolisDa2ny closed 2 months ago

HeropolisDa2ny commented 3 months ago

Package Version

4.3.0

Flutter Version

3.22.3

Platforms

Android

How to reproduce?

With ProImageEditor.memory, select the paint option. The top bar will have a right overflowing icon.

Screenshot 2024-07-26 at 8 57 49

Logs (optional)

No response

Example code (optional)

No response

Device Model (optional)

No response

hm21 commented 3 months ago

I just tried it on Android but in my case everything works fine. Can you try if you have this issue as well when you remove all configs from the image editor? And if yes, can you fork the sample code and try if it works as correct? This will help to check if the problem is on your code, a specific device or some configuration on the editor.

HeropolisDa2ny commented 2 months ago

I just tried it on Android but in my case everything works fine. Can you try if you have this issue as well when you remove all configs from the image editor? And if yes, can you fork the sample code and try if it works as correct? This will help to check if the problem is on your code, a specific device or some configuration on the editor.

Here's my code without anything but the image :

return ProImageEditor.memory(
  image,
  callbacks: ProImageEditorCallbacks(
    onImageEditingComplete: (bytes) async {},
    onCloseEditor: () {},
  ),
  // configs: configs,
);

Here's the different tabs :

Screenshot 2024-07-29 at 8 06 17 Screenshot 2024-07-29 at 8 06 42 Screenshot 2024-07-29 at 8 06 50 Screenshot 2024-07-29 at 8 07 03 Screenshot 2024-07-29 at 8 07 11

Here's the details of my emulator :

Screenshot 2024-07-29 at 8 11 32
HeropolisDa2ny commented 2 months ago

I made a PR to resolve the problem : https://github.com/hm21/pro_image_editor/pull/177 but it includes spacing modification.

hm21 commented 2 months ago

Great job, I just merged it and will release the new version.

HeropolisDa2ny commented 2 months ago

@hm21 Here another overflowing fix : https://github.com/hm21/pro_image_editor/pull/178 it includes agencement modifications and an add of option.