Not everything can be done from Designer. You have to do that in init() or in subclass constructor.