mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-13 10:18:51 +01:00
Merge pull request #139 from cuu/master
update desktopbg.jpg , cut smalltext in bluetooth infopage
This commit is contained in:
commit
301bb3b74c
@ -137,7 +137,8 @@ class BleInfoPage(Page):
|
||||
self._MyList = []
|
||||
self._PsIndex = 0
|
||||
start_x = 0
|
||||
start_y = 0
|
||||
start_y = 0
|
||||
|
||||
for i,v in enumerate( self._AList):
|
||||
#print(i,v) # (0, dbus.String(u'AddressType'))
|
||||
|
||||
@ -170,11 +171,11 @@ class BleInfoPage(Page):
|
||||
elif sm_text == "1":
|
||||
sm_text="Yes"
|
||||
|
||||
sm_text = sm_text[:20]
|
||||
li.SetSmallText(sm_text)
|
||||
|
||||
li._PosX = 2
|
||||
self._MyList.append(li)
|
||||
|
||||
|
||||
def ScrollUp(self):
|
||||
if len(self._MyList) == 0:
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 544 KiB After Width: | Height: | Size: 611 KiB |
Loading…
x
Reference in New Issue
Block a user