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