def newspinner(innertext, values):
     spinner = Spinner(color=getcolor(textColor),
                       text=innertext,
                       values=values,
                       height=44,
                       size_hint=(0.7, None),
                       halign='left',
                       valign='middle',
                       padding_x=5,
                       option_cls=Factory.get('CustomSpinnerOption'))
     spinner.height = 35
     spinner.bind(size=spinner.setter('text_size'))
     spinner.background_normal = ''
     spinner.background_color = getcolor(spinnerBackColor)
     spinner.markup = True
     return spinner