|
@@ -84,6 +84,10 @@ export class tools {
|
|
}
|
|
}
|
|
if(string.length==2) {
|
|
if(string.length==2) {
|
|
lab_component.lineHeight = 60
|
|
lab_component.lineHeight = 60
|
|
|
|
+ } else if(string.length==3) {
|
|
|
|
+ lab_component.lineHeight = 38
|
|
|
|
+ } else {
|
|
|
|
+ lab_component.lineHeight = 30
|
|
}
|
|
}
|
|
lab_component.string = string
|
|
lab_component.string = string
|
|
}
|
|
}
|