diff --git a/flow3r_openhab/__init__.py b/flow3r_openhab/__init__.py index 51cf843..00efcbc 100644 --- a/flow3r_openhab/__init__.py +++ b/flow3r_openhab/__init__.py @@ -60,13 +60,13 @@ class Flow3rOpenhabMqtt(Application): ctx.font_size = 20 for i, text in enumerate(self.ui_config.get('labels', [])): phi = (2*math.pi/10)*(i+1)-(math.pi/2) - radius = 50 if i%2 else 80 + radius = 75 if i%2 else 90 x = radius*math.cos(phi) y = radius*math.sin(phi) ctx.rgb(1, 1, 1).move_to(x, y).text(text) mode = self.ui_config.get('mode') if mode: - ctx.font_size = 50 + ctx.font_size = 35 ctx.rgb(1, 1, 1).move_to(0, 0).text(mode) if CONFIG.get('debug_touch', False): ctx.line_width =1