TabbedContent's height fit to content? #4559
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
You might want to knock up a sample app and tcss with all the elements you need, and I'll suggest some CSS to fix it. |
Beta Was this translation helpful? Give feedback.
-
Great, this works perfect with an explicit line count:
But with relative values the result is not really what I expect, when live shrinking and expanding the terminal while viewing. But I think, this is really hard to figure out, and I'm even not sure whether my expectation is the "correct" behavior.
Thanks a lot for your answer and for the fix in 0.63.5. Best regards, Frank |
Beta Was this translation helpful? Give feedback.
There was an issue with DataTables in tabbed content, which is fixed in 0.63.5
From your sketch, I think you want to set the tabbed content, and DataTable to
height: auto