Tabbar Height based on Dynamic Content

Hello, i’m using the tabbar widget and i’m trying to set the height of the tabbar based on dynamic content. Here is what i’m doing. The below does not seem to work consistently and my tab may get truncated depending on the size of the contents within the tab. See attachment for an example of the truncation.

Is there a better way to support dynamic setting of the tabbar height based on content that may vary from one item to the next?




Please, look at this topic