yaronn / blessed-contrib

Build terminal dashboards using ascii/ansi art and javascript
MIT License
15.47k stars 842 forks source link

How to move or resize widgets in a grid? #212

Open GaryBoone opened 3 years ago

GaryBoone commented 3 years ago

What is the right way to move or resize widgets laid out using a grid?

It appears that aWidget.width = 30 does change the width, but that appears to be a character width rather than in a unit of columns as used in the grid.set command that created it. It also then fixes the width to 30 and no longer resizes when the window resizes.