https://kotlinlang.org logo
#tornadofx
Title
# tornadofx
o

Olav Hermansen

08/27/2020, 2:36 PM
I have multiple tabs in a TabPane. Does tornadofx have a smooth way of showing that "work" is being done in a tab. Spinner next to the title? other suggestions?
m

Marshall

08/27/2020, 5:03 PM
tornadofx does have "runAsyncWithOverlay" that will place an animated spinner a given node
it should be possible to set the tab as the node that is being overlayed
m

melatonina

08/27/2020, 5:27 PM
You can use
Copy code
tab {
   graphic = ... 
}
o

Olav Hermansen

08/28/2020, 1:39 PM
sweet! Thanks
2 Views