You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 and maxHeight 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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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