Introjucer component as public?


#1

Hi

It seems all UI components added through Introjucer are private.
Is there a way to make them public ?
 

I cannot find any option in introjucer to add a public UI component rather than private.
Thanks
  


#2

You can just add your own public accessor methods to return them.


#3

Thanks for your fast answer.

Yes I can, but I have about 150 components and I would have prefered making them public.
Thanks anyway !


#4

Having 150 public components inside a parent sounds like a bad code smell to me!


#5

:-)

Got it, but my app features a lot of small options with their label, control and more, resulting in a lot of introjucer components.
I do no see any reason to split them into different sub components btw.