Anyone knows how I can get a tabpanel tab height t...
# kvision
c
Anyone knows how I can get a tabpanel tab height to adapt to the parent container height? I.e. given the following example:
Copy code
{
        @Serializable
        data class Item(val name: String)
        val model = mutableListOf<Item>()
        for (i in 1..30) {
                model += Item("Item " + i)
        }

        vPanel {
                width = 100.vw
                height = 100.vh

//              tabPanel() {
//                      tab("Tab") {
                                div("Header")
                                tabulator(model, options = TabulatorOptions(columns = listOf(ColumnDefinition("Item", "name"))), serializer = serializer()) {
                                        height = 100.perc
                                }
                                div("Footer")
//                      }
//              }
        }
}
I'd like the same behaviour with or without the tab panel, i.e. I'd like "Footer" to appear at the bottom of the screen in either case.