Compare commits

..

No commits in common. "58a143a9ea137f0e15cbd3ef209d6f03c39fcf4a" and "9e2b5db1a634b28fa8ea63cee917c96e4b7ea3ef" have entirely different histories.

2 changed files with 8 additions and 1 deletions

View File

@ -99,6 +99,7 @@ class BlocksApp(App):
def build(self):
tl = Label(text='test')
self.font_size = tl.font_size
print('##################app_font_size=', self.font_size)
config = getConfig()
self.workers = Workers(maxworkers=config.maxworkers or 80)
self.workers.start()
@ -131,6 +132,12 @@ class BlocksApp(App):
return x
return None
def realurl(self, url):
if url.startswith('https://') or url.startswith('http://'):
return url
config = getConfig()
return '%s%s' % (config.uihome, url)
def get_user_data_path(self):
if platform == 'android':
# Environment = autoclass('android.os.Environment')

View File

@ -165,7 +165,7 @@ class TreeNode(BoxLayout):
if cf:
self.content = HBox(size_hint_y=None,
height=self.treeObj.rowHeight)
self.checkbox_w = CheckBox(active=self.data.get(cf, False))
self.checkbox_w = CheckBox(active=self.data.get(cf, False)
self.content.add_widget(self.checkbox_w)
self.content.add_widget(x)
self.checkbox_w.bind(active=self.on_checkbox_active)