started the animationpage

This commit is contained in:
2025-06-05 16:26:29 +03:00
parent 8652940879
commit 3da7a28546
5 changed files with 86 additions and 7 deletions

View File

@@ -558,21 +558,54 @@
on_press: app.root.current = "home"
<CreateAnimationScreen>:
BoxLayout:
orientation: "vertical"
padding: 20
spacing: 20
canvas.before:
Color:
rgba: 0.11, 0.10, 0.15, 1 # Same background as other screens
rgba: 0.11, 0.10, 0.15, 1
Rectangle:
pos: self.pos
size: self.size
Label:
text: "Create Animation Screen"
font_size: 24
text: root.project_name if root.project_name else "Create Animation Screen"
font_size: 22
color: 1, 1, 1, 1
size_hint_y: None
height: 36
BoxLayout:
orientation: "horizontal"
size_hint_y: None
height: 60
padding: [10, 10, 10, 10]
spacing: 10
canvas.before:
Color:
rgba: 0.15, 0.15, 0.18, 1
Rectangle:
pos: self.pos
size: self.size
Label:
text: "Edit or change the name of the project"
font_size: 16
color: 1, 1, 1, 1
size_hint_x: 0.7
Button:
text: "Rename"
size_hint_x: 0.3
font_size: 16
background_color: 0.341, 0.235, 0.980, 1
color: 1, 1, 1, 1
on_press: root.open_rename_popup()
Widget:
size_hint_y: 1
Button:
text: "Back to Home"