79478373

Date: 2025-03-01 22:45:44
Score: 1
Natty:
Report link
self.viewclass = 'Label'

self.layout_manager = RecycleBoxLayout(
    orientation='vertical',
    default_size=(None, 56),
    default_size_hint=(1, None),
    size_hint_y=None
)
self.add_widget(self.layout_manager)

But it is wrong

Correctly

self.layout_manager = RecycleBoxLayout(
    orientation='vertical',
    default_size=(None, 56),
    default_size_hint=(1, None),
    size_hint_y=None
)

self.add_widget(self.layout_manager) 
self.viewclass = 'Label'        # after add_widget
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mipsii