Problem Description
The minimumFontSize of a text label below 4 does not work.
If we use the minimumFontSize 4 or more its working perfectly.
TESTING ENVIRONMENT:
Titanium SDK: 3.2.3.GA and 3.3.0.GA
Titanium CLI: 3.3.0
OS X Version: 10.9.3
IOS Simulator: 7.1
Android API Level: 19
TEST CODE:
<Alloy>
<Window class="container">
<Label id="label"></Label>
<Label class="label1"></Label>
</Window>
</Alloy>
".container": {
backgroundColor: "white"
},
"Label": {
text: "This text does resize",
left: 15,
top: 100,
width: 200,
height: 50,
font:{
fontSize: 50
},
minimumFontSize: 4,
backgroundColor: "#FFFFFF"
} ,
".label1": {
text: "This text does not resize",
left: 15,
top: 200,
width: 200,
height: 50,
font:{
fontSize: 50
},
minimumFontSize: 2,
backgroundColor: "#FFFFFF"
}
$.index.open();
STEPS TO REPRODUCE:
- Create a simple Alloy project.
- Update this code in index.xml and index.tss .
- Run this with testing environment.
TESTING RESULT:
The first Label does resize where the minimumFontSize:4 but the second Label does not resize where the minimumFontSize:2 .
Thanks for your report! The engineering team will set the priority on this issue.