Skip to content
Snippets Groups Projects
Commit 9bc4c8ba authored by bmois2's avatar bmois2
Browse files

Completed 7/21/24 at 3:30 PM

Should complete all tasks provided.
parent b9e00800
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ from kivy.properties import BooleanProperty, ListProperty
from kivy.modules import inspector
from kivy.core.window import Window
from kivy.properties import NumericProperty
from kivy.uix.progressbar import ProgressBar
GUI_QUESTIONS = [
......@@ -79,6 +80,7 @@ class QuizzerApp(App):
score = NumericProperty(0) #score
total = NumericProperty(0)#total questions
def build(self):
inspector.create_inspector(Window, self)
......
......@@ -70,6 +70,7 @@ ScreenManager:
name: 'quiz'
BoxLayout:
orientation: 'vertical'
Button:
text: 'Change Topic'
size_hint: (1, 0.25)
......@@ -77,6 +78,9 @@ ScreenManager:
on_press:
root.transition.direction = 'right'
root.current = 'settings'
ProgressBar:
max: 5
value: app.total
# here
BoxLayout:
orientation: 'horizontal'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment