title: Python / Kivy: conditional design in .kv file
body: <p>Would an approach similar to the example below be possible in Kivy?<br>
  The code posted obviously doesn't work, and again it's only an example: I will need different layouts to be drawn depending on a certain property.   </p>
  
  <p>How would you suggest working this out?</p>
  
  <pre><code>BoxLayout:
      number: 0
      if self.number &gt; 3:
          Label:
              text: 'number is bigger than 3'
          Button:
              text: 'click here to decrease'
              on_press: root.number -= 1
      else:
          Label:
              text: 'number is smaller than 3'
          Button:
              text: 'click here to increase'
              on_press: root.number += 1
  </code></pre>