Compare commits
2 Commits
9e2b5db1a6
...
58a143a9ea
Author | SHA1 | Date | |
---|---|---|---|
|
58a143a9ea | ||
|
977161fae3 |
@ -99,7 +99,6 @@ 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()
|
||||
@ -132,12 +131,6 @@ 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')
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user