what determines order of layer buttons?
Posted: Sat Sep 02, 2017 6:36 pm
I have so far thought that when using buttons the z-order of buttons is same as layers z-orders are.
But now i just noticed this is not so, at least not in my program.
What I have expected is that if Layer Button A is completely (or even partially) covered by Layer Button B, then i cant push Layer Button A, at least from parts that Layer Button B is covering Layer Button A.
However, I have now an example where layer Button B is partially covering Layer Button A, and when I click on top of Layer Button B, it is actually activating Layer Button A.
Hence, how is the z-order of layer buttons decided, and can i change the order on fly?
But now i just noticed this is not so, at least not in my program.
What I have expected is that if Layer Button A is completely (or even partially) covered by Layer Button B, then i cant push Layer Button A, at least from parts that Layer Button B is covering Layer Button A.
However, I have now an example where layer Button B is partially covering Layer Button A, and when I click on top of Layer Button B, it is actually activating Layer Button A.
Hence, how is the z-order of layer buttons decided, and can i change the order on fly?