davidbrochart / ipytextual

Jupyter Textual-based Widget
BSD 3-Clause "New" or "Revised" License
13 stars 1 forks source link

Renders with small font #2

Open maartenbreddels opened 3 months ago

maartenbreddels commented 3 months ago

Hi David 👋

I was curious about this widget library, but it didn't work with the latest textual. However, version 0.42 still runs. But I get this small font rendering:

image

Is that expected?

Cheers,

Maarten

davidbrochart commented 3 months ago

Hi Maarten, I opened #3 so that it works with latest Textual. Regarding the small fonts, https://github.com/davidbrochart/ipytextual/commit/1f7c9352e95bde16b62631f85d9b93f5f865617a was supposed to do the same as for textual-web, but you're right that fonts are still very small, even when I reduce the size of the terminal with cols and rows: image Maybe @willmcgugan has an idea? Also, see #1 for other issues with terminal size.

willmcgugan commented 3 months ago

I think it should just be a matter of setting the font size. The Fit addon should do the test.

davidbrochart commented 3 months ago

Thanks, I opened #4 to allow passing font_size.