Use stack layout

This commit is contained in:
Micke Nordin 2023-12-09 13:41:58 +01:00
parent 26bbaf3aa4
commit cf593320bb

View file

@ -6,6 +6,7 @@ kivy.require('2.2.1')
from kivy.app import App from kivy.app import App
from kivy.uix.boxlayout import BoxLayout from kivy.uix.boxlayout import BoxLayout
from kivy.uix.stacklayout import StackLayout
from kivy.uix.button import Button from kivy.uix.button import Button
from kivy.uix.label import Label from kivy.uix.label import Label
from kivy.uix.popup import Popup from kivy.uix.popup import Popup
@ -31,7 +32,7 @@ class SingleBridgeScreen(Screen):
self.sm = sm self.sm = sm
self.tinge = tinge self.tinge = tinge
self.bridge = bridge self.bridge = bridge
self.layout = BoxLayout() self.layout = StackLayout()
self.add_widget(self.layout) self.add_widget(self.layout)
self.set_group_buttons() self.set_group_buttons()