Skip to content

How to configure size of widget, or size of lines, or font, or anything? #12

New issue

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

Open
varung opened this issue Dec 3, 2022 · 1 comment

Comments

@varung
Copy link

varung commented Dec 3, 2022

No description provided.

@gereleth
Copy link
Owner

gereleth commented Dec 4, 2022

You can use layout keyword to control overall size of the widget like this:

widget = BBoxWidget(
    image='fruit/fruit.jpg',
    classes=['apple', 'orange', 'pear'],
    layout={'width': '300px'},
)

As for font size and the rest - I don't think there's an easy way to do this currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants