mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge remote-tracking branch 'origin/main' into feat/v9-prerelease
This commit is contained in:
@@ -917,7 +917,6 @@ export class View extends ViewCommon {
|
||||
if (!navigationBar) return;
|
||||
|
||||
if (typeof value === 'string') {
|
||||
console.log('here:', value);
|
||||
navigationBar.barStyle = value === 'dark' ? UIBarStyle.Black : UIBarStyle.Default;
|
||||
} else {
|
||||
navigationBar.barStyle = value;
|
||||
|
||||
@@ -186,6 +186,11 @@ export class TextBase extends TextBaseCommon {
|
||||
super.initNativeView();
|
||||
initializeTextTransformation();
|
||||
const nativeView = this.nativeTextViewProtected;
|
||||
|
||||
// Fix for custom font over-height issue on Android
|
||||
// Disable font padding to prevent extra spacing around text
|
||||
nativeView.setIncludeFontPadding(false);
|
||||
|
||||
this._defaultTransformationMethod = nativeView.getTransformationMethod();
|
||||
this._defaultMovementMethod = nativeView.getMovementMethod();
|
||||
this._minHeight = nativeView.getMinHeight();
|
||||
|
||||
Reference in New Issue
Block a user