Commit 19e587e6 authored by ZingBallyhoo's avatar ZingBallyhoo

Merge branch 'fix_exception_dpi2px' into 'master'

Fix for log messages "Exception ignored in: 'kivy.properties.dpi2px'"

See merge request !46
parents 7de57902 e81c02af
Pipeline #12046617 passed with stage
in 48 minutes
......@@ -186,7 +186,7 @@ class MDBottomNavigationBar(ThemableBehavior, BackgroundColorBehavior, FloatLayo
class MDTabHeader(MDFlatButton):
""" Internal widget for headers based on MDFlatButton"""
width = BoundedNumericProperty(dp(None), min=dp(72), max=dp(264), errorhandler=lambda x: dp(72))
width = BoundedNumericProperty(dp(0), min=dp(72), max=dp(264), errorhandler=lambda x: dp(72))
tab = ObjectProperty(None)
panel = ObjectProperty(None)
......@@ -208,7 +208,7 @@ def small_error_warn(x):
class MDBottomNavigationHeader(BaseFlatButton, BasePressedButton):
width = BoundedNumericProperty(dp(None), min=dp(80), max=dp(168), errorhandler=lambda x: small_error_warn(x))
width = BoundedNumericProperty(dp(0), min=dp(80), max=dp(168), errorhandler=lambda x: small_error_warn(x))
tab = ObjectProperty(None)
panel = ObjectProperty(None)
_label = ObjectProperty()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment