def get_configuration_subpanel(self, prop, owner, key): layout = StackLayout(orientation='lr-tb', size_hint=(None, None), width=dc.col_width, height=20) clr_picker = ColorPicker() if (key in rvit.core.pars.keys()): current_color = rvit.core.pars[key] clr_picker.color = current_color def on_color(instance, value): prop.set(owner, list(instance.color)) rvit.core.pars[key] = list(instance.color) clr_picker.bind(color=on_color) layout.add_widget( Label(text=prop.name, size_hint=(1.0, None), height=dc.text_height)) layout.add_widget(clr_picker) layout.height = 550 return layout