Titanium appcelerator - is there any way to use custom font in picker? - titanium

my question is how can I use custom font in my picker...
Seems like I can't use the fontFamily property in any of those:
Ti.UI.createPicker / Ti.UI.createPickerColumn / Ti.UI.createPickerRow ...
So I thought about adding label or view to the picker...but with no success...
Any ideas?

Unfortunately, it's not available in the current implementation of Titanium mobile.
The only option would be making a custom widget for now.

Related

How to add new custom fontFamily to react native from server after build a release?

I have an application that has some custom fontFamilies; Users can select them and fontFamily of text will change, now I want to change this strategy and put fonts on my server to add/remove them whenever I want.
So, I can download and save them with react-native-fs but I can't use them, how can I achieve this?
Thank you
For android I think you can use Typeface.createFromFile(String path)

Customize and change the default UI of pdftron - reactNative

My question is does pdftron give react native developpers some alternatives to change the whole ui?
As an example, i want to create a bottomTab to control the annotations and other things.
is it possible to do it without touching the java and swift code ?
you can create your own custom UI and use the set tool API in the PDFTron library. This allows the developer to set what tool mode is currently being used. You can also hide existing toolbars by using the available api’s.
Please see https://github.com/PDFTron/pdftron-react-native/blob/master/API.md#settoolmode for more information.

How can I put a BackgroundImage in Xamarin.Forms UWP?

Good Day everyone. I'm currently creating the UWP part of my Xamarin.Forms Project and I want to put a BackgroundImage in it. I've noticed that the images I used in Xamarin.Forms.Droid are not being displayed on my UWP. Why is that so?
I used this code BackgroundImage="filename.jpg"
Check the image and make sure that you place your images in the application's root directory with Build Action: Content.
Edit :
I suggest you to modify the code as :
BackgroundImage="//Assets/filename.jpg"

Titanium: On The Fly Masked TextField

Titanium-Alloy SDK 3.2.1, Android 4.2.2.
Hi there, I would like to know if you have had the need to mask a textfield on the fly.
One project I am working on needs the user to input some formatted numbers (numbers+punctuation). On my best efforts, I've made a example project that makes use of a masked textfield using keypressed events on Android. It's HERE.
Questions are:
Should I follow this route?
Or is there a good module avaiable for this?
Any generic javascript option available (no DOM)?
Any suggestions or better ideas of how to deal with the
problem?
Thanks.
passwordMask is a boolean textfield property. If you need to dynamically toggle it, just do so in the controller like
if (condition){
textFieldName.passwordMask = true;
}

How to get text 'shadow' effect in Silverlight Toolkit themes to work in my project

I am using the jetpack theme in my silverlight project. Everything is picking up the styles except I do not get the subtle text shadow effect that is visible on all the controls on the jetpack demo page.
Here is a screenshot - my project on the left, the demo site on the right.
Is there anything I have to do to enable the effect?
You have to use the label control in the toolkit.
Do this:
xmlns:label="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
then this
<label:Label>Icon</label:Label>