Skip to content

how to make your image full screen? #2545

Discussion options

You must be logged in to vote

Hi Ambassador-of-programming,

You can add a Container to the page and set the parameter: expand=True.

Example:

page.add(
    Container(
        image_src='<IMAGE_URL>',
        image_fit=ImageFit.COVER,
        expand=True,
        content=Control()
    )
)

Stay safe and have fun programming!

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Vallekralle
Comment options

@Ambassador-of-programming
Comment options

@Ambassador-of-programming
Comment options

@ndonkoHenri
Comment options

@Ambassador-of-programming
Comment options

Answer selected by Ambassador-of-programming
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
3 participants