termui icon indicating copy to clipboard operation
termui copied to clipboard

MinWidth, MaxWidth

Open Chillance opened this issue 8 years ago • 1 comments

Hey!

This is great. A cooperation with https://github.com/jroimartin/gocui would have been cool, if possible.

Anyway, I was wondering if some kind of "MinWidth"/"MaxWidth" could be specified. This would have been very handy. With these, it would try to keep these values as much as it could, when layouting. For example, now I have a list column to the left that I don't need to expand in width when resizing. And, It gets a bit too small to fit the text when going down in size (I use NewCol(2), NewCol(10)), so having these around would make it possible for me to specify a size range it could be within, while the "column" to the right of it expanded as appropriate.

Thanks!

Chillance avatar Feb 22 '17 01:02 Chillance

EDIT: I misunderstood the issue.

srlehn avatar Mar 29 '19 23:03 srlehn