HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: onLayout event question - not quartz.d related  (Read 1166 times)

AWW_boss

  • General Accounts
  • *
  • Posts: 846
  • gdfgd
    • View Profile
onLayout event question - not quartz.d related
« on: Apr 22, 15, 03:17:08 PM »

I just recently noticed that when i create/delete a GUI control, for example like this:
tooltipLabel as NodeRef of Class GUILabel = CreateNodeFromPrototype( "_label" )
tooltipLabel.build = true

this action executes onLayout event on ALL currently visible GUI controls. Is this normal and can it be prevented for performance reasons?
Logged