Permalink
Browse files

Example 75: Set the mode based on the width property.

Kivy's dynamic property binding means that the mode will always be set as soon as a resize event occurs.
  • Loading branch information...
1 parent a22c40b commit d3f7c774f6b97f425bdb93ad5c38b5d1d9a05d6e Dusty Phillips committed Aug 17, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 orkiv/orkiv.kv
View
@@ -4,6 +4,7 @@
OrkivRoot:
<OrkivRoot>:
+ mode: "narrow" if self.width < 600 else "wide"
AccountDetailsForm:
<AccountDetailsForm>:

0 comments on commit d3f7c77

Please sign in to comment.