diff cagou/kv/xmlui.kv @ 236:ca86954b3788

xmlui: implemented TextBoxWidget + set height for XMLUIPanel
author Goffi <goffi@goffi.org>
date Fri, 31 Aug 2018 16:58:15 +0200
parents 38da086d162b
children 661b9cf7b4e4
line wrap: on
line diff
--- a/cagou/kv/xmlui.kv	Fri Aug 31 16:58:10 2018 +0200
+++ b/cagou/kv/xmlui.kv	Fri Aug 31 16:58:15 2018 +0200
@@ -28,8 +28,13 @@
 
 
 <StringWidget,PasswordWidget,IntWidget>:
+    multiline: False
+    background_normal: app.expand('atlas://data/images/defaulttheme/textinput')
 
-    background_normal: app.expand('atlas://data/images/defaulttheme/textinput')
+
+<TextBoxWidget>:
+    multiline: True
+    height: dp(common_height) * 5
 
 
 <ButtonWidget>:
@@ -129,6 +134,7 @@
 
 
 <XMLUIPanel>:
+    height: self.minimum_height
     canvas.before:
         Color:
             rgba: 0, 0, 0, 1