Search the Community
Showing results for tags 'z-index'.
Found 1 result
-
I'm working on a dialog for a game mode (and potentially later a mod, we'll see). It's essentially a tablet UI covering a bunch of functions. Support requests, section orders/planning and ISTAR (intelligence gathering). I appreciate the work needed to get this done, it's a long term project. I also know there's cTab, which is a great mod but I'm looking to make something a bit more bespoke to my unit. Anyway, the dialog issue is that I can't really achieve what I want in terms of layering. I've read that the order dialog controls are defined in is the order they are layered (z-index essentially). That's great, except the map controls seem to ignore this. With the layering I have, if I put the map to ControlsBackground it can't be interacted with, but if I take it out of there into Controls, it sits on top of everything, regardless of order. The reason the map can't be interacted with is there is a controls group covering the screen area to hide any content that strays outside of the tablet image. So, does anyone know of any better way to avoid controls appearing outside a defined area, or does anyone know how to force an element to be behind another? What I intended... The "overlapping"... Overlapping with the context menu focused (clicking on it brings it to the front)...