Replies: 2 comments
-
See Issue #147. Did also experiment with weight which didn't work. Let me know if helps!❤️ |
Beta Was this translation helpful? Give feedback.
0 replies
-
@mihirgandecha Thank you very much for the note! However, I'm more looking for a solution that sets the height to the natural height of the component (and be fixed there). A step further is to even consider having a tabset whose height dynamically adjusts to the natural height of the component. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, Flexlayout is perfect for widgets (tabs) which overflow (so that user can scroll). I wonder if I can make the height of a tab (in a vertical tabset) to be exactly the widget's natural height when rendered, like below. The only way I can think of right now is to set both the
minHeight
andmaxHeight
of the tab to be the offsetHeight of the element.weight
is not a good way now. Maybe there's a cleaner way to do it?Beta Was this translation helpful? Give feedback.
All reactions