compatibility

->addClass(‘stacked’)
->addClass(‘atk-form-stacked’)

will automatically change the template for compatibility.