Skip to content
Discussion options

You must be logged in to vote

I was able to implement track corner rounding for the scrollbar using a workaround with Stack widget.

import flet

def main(page: flet.Page):

    page.horizontal_alignment = flet.CrossAxisAlignment.CENTER
    page.vertical_alignment = flet.MainAxisAlignment.CENTER

    page.add(
        flet.Stack(
            controls=[
                flet.Container(
                    content=flet.CircleAvatar(bgcolor="#e3e7e8", radius=6.5),
                    alignment=flet.alignment.bottom_right,
                ),
                flet.Container(
                    content=flet.CircleAvatar(bgcolor="#e3e7e8", radius=6.5),
                    alignment=flet.alignment.top_right,
                ),
…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sagittarius-H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
1 participant