Any idea how I can create the following css using ...
# tornadofx
m
Any idea how I can create the following css using the tornadofx stylesheet?
Copy code
.tabstack {
    -fx-tab-max-height: 0 ;
}
.tabstack .tab-header-area {
    visibility: hidden ;
}
I know this will give me the css class but not sure how to nest css classes
Copy code
class TabStyle : Stylesheet() {
    companion object {
        val tabStack by cssclass()
    }

    init {
        tabStack {
            tabMaxHeight = 0.px
        }
    }
}
basically I want to hide the tab bar in a tab pane and use it like an opaque stack
This works for inline style:
Copy code
tabPane = tabpane {
            // hide the tab bar
            stylesheet {
                tabMaxHeight = 0.0
                Stylesheet.tabHeaderArea {
                    visibility = FXVisibility.HIDDEN
                }
            }