Manual line break
A LineBreak
can be used to force input fields to
be placed on the next 'line' to obtain a cleaner looking parametrization within an editor.
import viktor as vkt
class Parametrization(vkt.Parametrization):
n1 = vkt.NumberField('N1')
n2 = vkt.NumberField('N2')
lb = vkt.LineBreak() # split the fields in 2 pairs
n3 = vkt.NumberField('N3')
n4 = vkt.NumberField('N4')