I'm not really sure of the best way to integrate this into Promotion/Teacup coding style, but you can resolve the issue by altering the AboutViewController's on_appear
method like so:
def on_appear
label = UILabel.alloc.initWithFrame([[0,0],[198,44]])
label.backgroundColor = :clear.uicolor
label.setFont('Prada'.uifont(25))
label.textAlignment = UITextAlignmentCenter
label.textColor = :black.uicolor
label.adjustsFontSizeToFitWidth = true
label.text = 'About'
self.navigationItem.titleView = label
self.navigationItem.titleView.origin = [0,0]
@scroll.contentSize = CGSizeMake(Device.screen.width, @content.totalHeight + 44)
end
The label's frame width was just manually calculated, there's probably a better way to handle that for screen rotations.