mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-12 07:58:51 +01:00
cut sm_text in bluetooth ,infopage
This commit is contained in:
parent
52364924b7
commit
af6e325bb3
@ -237,7 +237,9 @@ func (self *BleInfoPage) GenList() {
|
||||
sm_text = fmt.Sprintf("%v",v)
|
||||
}
|
||||
|
||||
|
||||
if len(sm_text) > 20 {
|
||||
sm_text = sm_text[:20]
|
||||
}
|
||||
li.SetSmallText(sm_text)
|
||||
li.PosX = 2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user