No, I'm just trying to set up a menu that has a ba...
# tornadofx
s
No, I'm just trying to set up a menu that has a banner on top of it. I don't think there should be any refresh involved.
r
I take it just stacking the datagrid and the banner vertically (in a vbox) is out of the question.
s
Ah, that's what I wanted to do! But sadly, yes. 🙂
r
Dang, it would have been so simple 🙂
s
Right? Maybe I can still push that idea...
r
Maybe, but if the banner has any transparency or doesn't fit the bottom rectangle perfectly, I can see why they'd want it layered.
c
This might help capture a scrolling event for the banner display. At the time, I was looking for an onScrollEnd event to fire when I hit the last item. This example cheats by having the last item in the list report when it comes into view. http://bekwam.blogspot.com/2016/02/capturing-faux-scrolling-event-in.html If this seems appropriate, we can convert it to TornadoFX.
s
Thanks!