CommonClient: make the Server tooltip no longer fullscreen

This commit is contained in:
Fabian Dill 2021-12-02 07:47:10 +01:00
parent a767d7723c
commit 1ec9ab5568
1 changed files with 13 additions and 1 deletions

View File

@ -32,6 +32,8 @@
pos: (0, 0)
<ServerToolTip>:
size: self.texture_size
size_hint: None, None
font_size: 18
pos_hint: {'center_y': 0.5, 'center_x': 0.5}
halign: "left"
canvas.before:
@ -39,4 +41,14 @@
rgba: 0.2, 0.2, 0.2, 1
Rectangle:
size: self.size
pos: self.pos
pos: self.pos
Color:
rgba: 0.098, 0.337, 0.431, 1
Line:
width: 3
rectangle: self.x-2, self.y-2, self.width+4, self.height+4
Color:
rgba: 0.235, 0.678, 0.843, 1
Line:
width: 1
rectangle: self.x-2, self.y-2, self.width+4, self.height+4