mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Inherit font properties form view inside spans
This commit is contained in:
@@ -110,6 +110,9 @@ export class Button extends view.View implements definition.Button {
|
||||
}
|
||||
|
||||
public _onFormattedTextPropertyChanged(data: dependencyObservable.PropertyChangeData) {
|
||||
if (data.newValue) {
|
||||
(<formattedString.FormattedString>data.newValue).parent = this;
|
||||
}
|
||||
this.setFormattedTextPropertyToNative(data.newValue);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user