+1

Changing stack order (z index) after loading an external wire file.

sovtek 7 years ago updated by icahill (Administrator) 7 years ago 3
I think im running into a z-index problem. If you load a pdf from from a separated wire file on the main wire init, the included wire will stack itself over the top of other components.

The idea is to have a toolbar that shows up across the app over the top of the pdf, but the pdf needs to be dynamically loaded using the load tag.

Is there anyway to update the z-index of a panel?

The pdf is intentionally at 100% W and H but it needs to be under the toolbar.
Actually upon looking at this further, it turns out that it has nothing to do with loading the external wire file.

The question is can i simply draw a panel over the top of the pdf object from outside of the pdf tag.
Never mind, I figured this out. If you place the toolbar after pdf tag code area, it is rendered on top of the pdf.
Correct. The Z order work bottom up. So objects the furthest down in your wire will display on top within our app.