Compare commits
No commits in common. "58a143a9ea137f0e15cbd3ef209d6f03c39fcf4a" and "9e2b5db1a634b28fa8ea63cee917c96e4b7ea3ef" have entirely different histories.
58a143a9ea
...
9e2b5db1a6
@ -99,6 +99,7 @@ class BlocksApp(App):
|
|||||||
def build(self):
|
def build(self):
|
||||||
tl = Label(text='test')
|
tl = Label(text='test')
|
||||||
self.font_size = tl.font_size
|
self.font_size = tl.font_size
|
||||||
|
print('##################app_font_size=', self.font_size)
|
||||||
config = getConfig()
|
config = getConfig()
|
||||||
self.workers = Workers(maxworkers=config.maxworkers or 80)
|
self.workers = Workers(maxworkers=config.maxworkers or 80)
|
||||||
self.workers.start()
|
self.workers.start()
|
||||||
@ -131,6 +132,12 @@ class BlocksApp(App):
|
|||||||
return x
|
return x
|
||||||
return None
|
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):
|
def get_user_data_path(self):
|
||||||
if platform == 'android':
|
if platform == 'android':
|
||||||
# Environment = autoclass('android.os.Environment')
|
# Environment = autoclass('android.os.Environment')
|
||||||
|
@ -165,7 +165,7 @@ class TreeNode(BoxLayout):
|
|||||||
if cf:
|
if cf:
|
||||||
self.content = HBox(size_hint_y=None,
|
self.content = HBox(size_hint_y=None,
|
||||||
height=self.treeObj.rowHeight)
|
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(self.checkbox_w)
|
||||||
self.content.add_widget(x)
|
self.content.add_widget(x)
|
||||||
self.checkbox_w.bind(active=self.on_checkbox_active)
|
self.checkbox_w.bind(active=self.on_checkbox_active)
|
||||||
|
Loading…
Reference in New Issue
Block a user