# HG changeset patch # User Goffi # Date 1485459558 -3600 # Node ID 15434a7787ed287aaa80ad214d7a8eee3a1d24f0 # Parent c439c271ecdd0ed8e7d5438e9e2029e5392b14d0 core (notifications): notification now grow in height with text size diff -r c439c271ecdd -r 15434a7787ed src/cagou/kv/root_widget.kv --- a/src/cagou/kv/root_widget.kv Thu Jan 26 20:39:15 2017 +0100 +++ b/src/cagou/kv/root_widget.kv Thu Jan 26 20:39:18 2017 +0100 @@ -33,7 +33,10 @@ size: self.size source: 'atlas://data/images/defaulttheme/button' size_hint: 1, None - height: dp(50) + text_size: self.width, None + halign: 'center' + height: self.texture_size[1] + padding: dp(2), dp(10) : clear_btn: clear_btn.__self__