Skip to content

How to change checkbox label font size? #1878

Answered by ndonkoHenri
barbo1942 asked this question in Q&A
Discussion options

You must be logged in to vote

This is not directly possible from the Checkbox control. But you could something like this:

import flet as ft

def main(page):

  page.add(
      ft.Row(
          tight=True,
          controls=[
              ft.Checkbox(),
              ft.Text("Text-made label", size=14)
          ]
      )
  )

ft.app(target=main)

What do you think?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@barbo1942
Comment options

Answer selected by barbo1942
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
2 participants