We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
from inspect import stack import flet from flet import Stack, Text, Container, Draggable, DragTarget, Page, Row, border, colors def main(page: Page): page.title = "Container example" c = Container() c.bgcolor = "red" c.height = 150 c.width = 200 page.add(c) flet.app(target=main)
add left or top property of container is not work
from inspect import stack import flet from flet import Stack, Text, Container, Draggable, DragTarget, Page, Row, border, colors def main(page: Page): page.title = "Container example" c = Container() c.bgcolor = "red" c.height = 150 c.width = 200 c.left = 300 c.top = 300 page.add(c) flet.app(target=main)
The text was updated successfully, but these errors were encountered:
left, top, right and bottom properties work only when control is inside of Stack control, e.g.
left
top
right
bottom
Stack
page.add(Stack([ Text("Hello!", left=100, top=100) ], expand=True))
There is a related issue: #296
Sorry, something went wrong.
No branches or pull requests
add left or top property of container is not work
The text was updated successfully, but these errors were encountered: