Skip to content

touchtracer bug - dp migration? #87

@r1chardj0n3s

Description

@r1chardj0n3s

I just tried to run the touchtracer demo and got this error. In the .kv file the padding is specified as '10dp'. I'm not sure what the fix should be...

Traceback (most recent call last):
File "main.py", line 102, in
TouchtracerApp().run()
File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/app.py", line 464, in run
root = self.build()
File "main.py", line 96, in build
return Touchtracer()
File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/uix/floatlayout.py", line 50, in init
super(FloatLayout, self).init(**kwargs)
File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/uix/layout.py", line 55, in init
super(Layout, self).init(**kwargs)
File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/uix/widget.py", line 114, in init
Builder.apply(self)
File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/lang.py", line 1168, in apply
self._apply_rule(widget, rule, rule)
File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/lang.py", line 1282, in _apply_rule
setattr(widget_set, key, value)
File "properties.pyx", line 137, in kivy.properties.Property.set (kivy/properties.c:2153)
File "properties.pyx", line 155, in kivy.properties.Property.set (kivy/properties.c:2408)
File "properties.pyx", line 235, in kivy.properties.NumericProperty.check (kivy/properties.c:3145)
ValueError: BoxLayout.padding accept only int/float

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions