Open daveeel opened 10 years ago
As an aside, having no luck to use your convenient way with control, but wanting to use the icons, I'm now temporarily using the custom font way and use unicode for text input. i.e. in .tss:
".fa-icon": {
top:'8',
color:'red',
font: {
fontFamily: 'FontAwesome',
fontSize:'40dp',
},
}
and in the .xml:
<Label class='fa-icon' text=""/>
A bit tedious, but at least under my control ...
Strange, did you try build -> clean? That might be the problem, sometimes it gets stubborn.
You could make it less tedious by using multiple classes
<label class= 'fa-star fa-large'/>
Yes, I learned to build clean from the previous issue.
I'm not sure what you're doing differently, but the example repo has a large icon in use, maybe you can refer to that and see what you've done differently??
I have an icon showing in a view, say detail.xml, but no matter how I change the fontSize of the related class in detail.tss, the icon size remain unchanged. Changing the icon is fine though.
Having tried almost all combinations. I finally swapped the content of detail.xml with your browse_icon.html and detail.tss with your app.tss. Strangely enough, all icon sizes are the same as my previous test and can't change. Changing icon color in the .tss of fa-icon works though.
So, what could be the possible cause? Is it possible that the parent window affects the rendering of child window?
By the way, though size can't change, the code runs ok in iOS simulator. But I got the following error message by running from Android Emulator: