-
Notifications
You must be signed in to change notification settings - Fork 606
Closed
Description
Description
Inconsistent UI display between iOS and macOS
macOS show the element,but ios not
Code example to reproduce the issue:
from flet import *
def main(page: Page):
page.add(Row(
controls=[
MenuBar([SubmenuButton(
content=Text("New"),
leading=Icon(icons.ADD),
on_focus=lambda e: print(e),
controls=[
SubmenuButton(
content=Text("Function"),
leading=Icon(icons.FUNCTIONS),
controls=[
MenuItemButton(
on_hover=None,
content=Text("Function")
)
]
),
MenuItemButton(
content=Text("Equation"),
leading=Icon(icons.FUNCTIONS),
on_click=lambda e: print("add e"),
on_hover=None,
)
]
)])
],
alignment=MainAxisAlignment.END
))
app(main)Describe the results you received:
What I see in the macOS:

What I see in the iOS

Describe the results you expected:
How I can make the display a same thing?
Additional information you deem important (e.g. issue happens only occasionally):
Almost 100% happen
Flet version (pip show flet):
0.19.0
Operating system:
iOS macOS
Additional environment details:
My macOS’s python version is 3.9.6,but my iOS flet app’s python version is 3.11.6,will this lead to the problem?
Metadata
Metadata
Assignees
Labels
No labels