fix status icon2 alt font (add nextion2text)

This commit is contained in:
joBr99
2022-12-14 23:02:30 +00:00
committed by github-actions[bot]
parent 89517a058b
commit 6a60ff2f05
12 changed files with 44 additions and 104 deletions

View File

@@ -626,10 +626,10 @@ Text tIcon1
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 3
x coordinate : 1
y coordinate : 0
Width : 85
Height : 40
Height : 48
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -640,7 +640,7 @@ Text tIcon1
Back. Color : 0
Font Color : 17299
Horizontal Alignment : left
Vertical Alignment : center
Vertical Alignment : top
Input Type : character
Text :
Max. Text Size : 10
@@ -659,7 +659,7 @@ Text tIcon2
x coordinate : 365
y coordinate : 0
Width : 85
Height : 40
Height : 48
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -670,7 +670,7 @@ Text tIcon2
Back. Color : 0
Font Color : 17299
Horizontal Alignment : right
Vertical Alignment : center
Vertical Alignment : top
Input Type : character
Text :
Max. Text Size : 10
@@ -1189,7 +1189,16 @@ Timer tmSerial
spstr strCommand.txt,tIcon2.txt,"~",19
spstr strCommand.txt,tTmp.txt,"~",20
covx tTmp.txt,tIcon2.pco,0,0
click m0,1
spstr strCommand.txt,tTmp.txt,"~",21
if(tTmp.txt!="")
{
tIcon1.font=3
}
spstr strCommand.txt,tTmp.txt,"~",22
if(tTmp.txt!="")
{
tIcon2.font=3
}
}
if(tInstruction.txt=="color"&&tNotifyHead.txt==""&&tNotifyText.txt=="")
{