Changing depths of widgets would be expensive, but changing depths of panels is cheap. If you are doing a HUD where you have something like player names above players' heads, you can put each label+icon combo on a separate panel, and change the depth of those panels instead of widgets.