From bbf851d4672e4371ff2847b98d12dfd7215cef60 Mon Sep 17 00:00:00 2001 From: Dorian Pula Date: Sat, 4 Jun 2016 15:43:40 -0700 Subject: [PATCH] Switch to labels and added two ways to colour backgrounds. --- strategygame.kv | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/strategygame.kv b/strategygame.kv index e7b7481..7efe1d1 100644 --- a/strategygame.kv +++ b/strategygame.kv @@ -1,5 +1,4 @@ #:import math math -#:include debug.kv : id: _game @@ -16,12 +15,20 @@ BoxLayout: orientation: 'vertical' size_hint: .25, 1 - DebugLabel: + Label: + id: _stats text: 'status' size_hint: 1, .66 - DebugLabel: + canvas.before: + Color: + rgba: .49, .49, .81, 1 + Rectangle: + pos: _stats.pos + size: _stats.size + Button: text: 'mini-map' size_hint: 1, .33 + background_color: .75, .71, .99, 1 :