Author Topic: Panel Issue  (Read 2618 times)

MaT.

  • Guest
Panel Issue
« on: July 26, 2013, 08:16:03 AM »
Hi,

I am having an issue on my project.
I have a Panel that hold UI content. In that panel I have another panel and inside a Label. Here is the problem.
You can see the hierarchy in the attachment.
In the issue attachment you can see the problem. My label disappear when I move it along the y axis. I don't understand why... Whe I move it forward along the z axis it appears but I need to make it very close to the camera and it's not good.

Thanks a lot !

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: Panel Issue
« Reply #1 on: July 26, 2013, 11:41:13 AM »
Put the label on Position Z= -5, that should help I think.
Are you using font texture or dynamic font?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Panel Issue
« Reply #2 on: July 28, 2013, 04:47:39 PM »
Each panel makes its own draw call(s). Each draw call is either above or below the other (not intersections). Since your label is moved behind the other drawcall, the whole thing is moved behind and is therefore hidden by the widgets in front of it.