flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
9.89k stars 390 forks source link

FloatingActionButton Location #3461

Open SpellboundCoder opened 3 weeks ago

SpellboundCoder commented 3 weeks ago

Duplicate Check

Describe the bug

I place Floating button in center and it works fine if run it from my IDE on windows or if I use flet run -- android it' shows in the center. BUT after I created an APK file using flet build apk and install the APP on android device somehow Floating button goes to the right. On the left side of screenshot provided APP running from IDE and on the right side same APP installed on android from APK file.

Code

No response

To reproduce

code

Expected behavior

No response

Screenshots

photo_2024-06-13_10-45-42

Operating System

Windows

Operating system details

Windows 10

Flet version

0.22.1

Regression

I'm not sure / I don't know

Suggestions

No response

Additional details

No response

ndonkoHenri commented 3 weeks ago

Please can you give a try to some other locations and report?

SpellboundCoder commented 3 weeks ago

Please can you give a try to some other locations and report?

Please can you give a try to some other locations and report?

I've tried CENTER_FLOATED and START_DOCKED, after compile app to APK file it always on the right

ndonkoHenri commented 3 weeks ago

Very strange issue. Marking as bug. Will investigate...