def METHOD_NAME(self):
    # happens when padding is too big
    sl = StackLayout()
    wgts = [Widget(size_hint=(1., .25)) for i in range(1, 4)]
    for wgt in wgts:
        sl.add_widget(wgt)
    sl.padding = 10
    sl.do_layout()