I'm using NativeScript with Angular. Is there an attribute to specify on Labels/buttons to ignore the font increase due to accessibility settings? I need a solution for both android and ios. Thank you!
相关问题
- Cannot find connected devices. Emulator start fail
- Multiline textbox in nativescript
- Angular Nativescript visibility defaults to true,
- NativeScript: Way to disable zoom controls for iOS
- nativescript ios app crashes - attempting to chang
相关文章
- Expected 2 arguments, but got 1.ts(2554) core.d.ts
- Kiosk mode in NativeScript for Android App
- Stop keyboard overlay when interacting with TextFi
- Can I share to my NativeScript app?
- Chrome Devtools opens as a search rather then the
- Center and right/left align items in a NativeScrip
- How to show keyboard when page loads in android ap
- Nativescript bare webview doesnt seem to work
I just had a look a NativeScript own code and noticed this:
https://github.com/NativeScript/NativeScript/blob/master/tns-core-modules/ui/text-base/text-base.android.ts#L216
You could try this:
HTML:
TypeScript
This should lock the fontSize of the label, until the CSS is changed.
If anybody interested, I found a workaround of using FormattedString for Labels, this object does not scale.