Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24812] font parameters do not work for Android

GitHub Issuen/a
TypeBug
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterILAY SENER
AssigneeGary Mathews
Created2017-06-10T13:25:37.000+0000
Updated2017-06-15T09:28:21.000+0000

Description

setting font for Picker doesn't work in Alloy when testing on Android Emulator. Steps: Create a basic mobile app using Alloy. Add following into index.xml. Run the app. Add following into index.tss '.pick':{ font: { fontSize: '40', fontWeight: 'bold' } } Run the app. You will see no change to the font size or font weight. Attached is the screengrab from my app using different font sizes and weights, but no change.

Attachments

FileDateSize
Screen Shot 2017-06-10 at 23.24.27.png2017-06-10T13:25:31.000+000042573

Comments

  1. Gary Mathews 2017-06-15

    Defining nativeSpinner uses Androids native [NumberPicker](https://developer.android.com/reference/android/widget/NumberPicker.html) which does not allow font properties to be set. This is unfortunately an Android limitation.

JSON Source