fixed too many iteration issue
This commit is contained in:
parent
17447683fe
commit
967bd1a4b4
|
@ -19,18 +19,18 @@
|
|||
size_hint_y: None
|
||||
height: dp(58)
|
||||
MDRaisedButton:
|
||||
size_hint: .6, 0
|
||||
height: dp(40)
|
||||
# text: root.text_variable_1
|
||||
# size_hint: .6, 0
|
||||
# height: dp(40)
|
||||
text: app.tr._(root.text_variable_1)
|
||||
elevation_normal: 2
|
||||
opposite_colors: True
|
||||
pos_hint: {'center_x': .5}
|
||||
MDLabel:
|
||||
font_style: 'H6'
|
||||
text: app.tr._(root.text_variable_1)
|
||||
font_size: '13sp'
|
||||
color: (1,1,1,1)
|
||||
halign: 'center'
|
||||
# MDLabel:
|
||||
# font_style: 'H6'
|
||||
# text: app.tr._(root.text_variable_1)
|
||||
# font_size: '13sp'
|
||||
# color: (1,1,1,1)
|
||||
# halign: 'center'
|
||||
Tab:
|
||||
text: app.tr._('Processes')
|
||||
ScrollView:
|
||||
|
@ -46,18 +46,18 @@
|
|||
size_hint_y: None
|
||||
height: dp(58)
|
||||
MDRaisedButton:
|
||||
size_hint: .6, 0
|
||||
height: dp(40)
|
||||
# text: root.text_variable_2
|
||||
# size_hint: .6, 0
|
||||
# height: dp(40)
|
||||
text: app.tr._(root.text_variable_2)
|
||||
elevation_normal: 2
|
||||
opposite_colors: True
|
||||
pos_hint: {'center_x': .5}
|
||||
MDLabel:
|
||||
font_style: 'H6'
|
||||
text: app.tr._(root.text_variable_2)
|
||||
font_size: '13sp'
|
||||
color: (1,1,1,1)
|
||||
halign: 'center'
|
||||
# MDLabel:
|
||||
# font_style: 'H6'
|
||||
# text: app.tr._(root.text_variable_2)
|
||||
# font_size: '13sp'
|
||||
# color: (1,1,1,1)
|
||||
# halign: 'center'
|
||||
OneLineListItem:
|
||||
text: app.tr._("Brodcast")
|
||||
BoxLayout:
|
||||
|
@ -65,18 +65,18 @@
|
|||
size_hint_y: None
|
||||
height: dp(58)
|
||||
MDRaisedButton:
|
||||
size_hint: .6, 0
|
||||
height: dp(40)
|
||||
# text: root.text_variable_3
|
||||
# size_hint: .6, 0
|
||||
# height: dp(40)
|
||||
text: app.tr._(root.text_variable_3)
|
||||
elevation_normal: 2
|
||||
opposite_colors: True
|
||||
pos_hint: {'center_x': .5}
|
||||
MDLabel:
|
||||
font_style: 'H6'
|
||||
text: app.tr._(root.text_variable_3)
|
||||
font_size: '13sp'
|
||||
color: (1,1,1,1)
|
||||
halign: 'center'
|
||||
# MDLabel:
|
||||
# font_style: 'H6'
|
||||
# text: app.tr._(root.text_variable_3)
|
||||
# font_size: '13sp'
|
||||
# color: (1,1,1,1)
|
||||
# halign: 'center'
|
||||
OneLineListItem:
|
||||
text: app.tr._("publickeys")
|
||||
BoxLayout:
|
||||
|
@ -84,18 +84,18 @@
|
|||
size_hint_y: None
|
||||
height: dp(58)
|
||||
MDRaisedButton:
|
||||
size_hint: .6, 0
|
||||
height: dp(40)
|
||||
# text: root.text_variable_4
|
||||
# size_hint: .6, 0
|
||||
# height: dp(40)
|
||||
text: app.tr._(root.text_variable_4)
|
||||
elevation_normal: 2
|
||||
opposite_colors: True
|
||||
pos_hint: {'center_x': .5}
|
||||
MDLabel:
|
||||
font_style: 'H6'
|
||||
text: app.tr._(root.text_variable_4)
|
||||
font_size: '13sp'
|
||||
color: (1,1,1,1)
|
||||
halign: 'center'
|
||||
# MDLabel:
|
||||
# font_style: 'H6'
|
||||
# text: app.tr._(root.text_variable_4)
|
||||
# font_size: '13sp'
|
||||
# color: (1,1,1,1)
|
||||
# halign: 'center'
|
||||
OneLineListItem:
|
||||
text: app.tr._("objects")
|
||||
BoxLayout:
|
||||
|
@ -103,15 +103,15 @@
|
|||
size_hint_y: None
|
||||
height: dp(58)
|
||||
MDRaisedButton:
|
||||
size_hint: .6, 0
|
||||
height: dp(40)
|
||||
# text: root.text_variable_5
|
||||
# size_hint: .6, 0
|
||||
#height: dp(40)
|
||||
text: app.tr._(root.text_variable_5)
|
||||
elevation_normal: 2
|
||||
opposite_colors: True
|
||||
pos_hint: {'center_x': .5}
|
||||
MDLabel:
|
||||
font_style: 'H6'
|
||||
text: app.tr._(root.text_variable_5)
|
||||
font_size: '13sp'
|
||||
color: (1,1,1,1)
|
||||
halign: 'center'
|
||||
# MDLabel:
|
||||
# font_style: 'H6'
|
||||
# text: app.tr._(root.text_variable_5)
|
||||
# font_size: '13sp'
|
||||
# color: (1,1,1,1)
|
||||
# halign: 'center'
|
||||
|
|
|
@ -229,7 +229,6 @@ class NavigateApp(MDApp):
|
|||
|
||||
def build(self):
|
||||
"""Method builds the widget"""
|
||||
print('data_screens: ', data_screens)
|
||||
for kv in data_screens:
|
||||
Builder.load_file(
|
||||
os.path.join(
|
||||
|
|
Reference in New Issue
Block a user