CommonClient.py UI: Add info on "Server:" label hover

CommonClient.py UI: prevent freeze if UI is closed while waiting on text user input
This commit is contained in:
Fabian Dill
2021-10-29 10:03:15 +02:00
parent 2217a9304d
commit 7f020857d1
3 changed files with 140 additions and 8 deletions

View File

@@ -22,4 +22,21 @@
size_hint_y: None
height: self.minimum_height
orientation: 'vertical'
spacing: dp(3)
spacing: dp(3)
<ServerLabel>:
text: "Server:"
size_hint_x: None
<ContainerLayout>:
size_hint_x: 1
size_hint_y: 1
pos: (0, 0)
<ServerToolTip>:
size: self.texture_size
pos_hint: {'center_y': 0.5, 'center_x': 0.5}
halign: "left"
canvas.before:
Color:
rgba: 0.2, 0.2, 0.2, 1
Rectangle:
size: self.size
pos: self.pos