feat: added hiding and revealing the stop button

This commit is contained in:
Arduinum628
2025-07-30 20:25:21 +03:00
parent 4439c9e17b
commit fa19a3eb80
3 changed files with 29 additions and 5 deletions

View File

@@ -2,6 +2,19 @@
<TimerScreen>:
FloatLayout:
# Label для названия таймера
Label:
id: title_label
size_hint: None, None
pos_hint: {'center_x': 0.3, 'center_y': 0.7}
# Label для типа таймера
Label:
id: type_timer_label
text: 'Помидор'
size_hint: None, None
pos_hint: {'center_x': 0.7, 'center_y': 0.7}
# Кнопка "Старт"
Button:
text: 'Старт'
@@ -22,7 +35,10 @@
# Кнопка "Стоп"
Button:
id: stop_button
text: 'Стоп'
opacity: 0
disabled: True
size_hint: None, None
height: 40
width: 100
@@ -32,6 +48,5 @@
# Label для отображения времени
Label:
id: time_label
# text: root.get_init_time(self)
size_hint: None, None
pos_hint: {'center_x': 0.5, 'center_y': 0.6}