mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix WrapLayout
Fix ScrollView Fix Stylers.android Remove some method from View class Fix layout-helper test views Fix all android failing tests Remove onLayout on Button and TextBase
This commit is contained in:
@@ -12,12 +12,7 @@ export class StackLayout extends common.StackLayout {
|
||||
static setNativeOrientationProperty(data: dependencyObservable.PropertyChangeData): void {
|
||||
var stackLayout = <StackLayout>data.object;
|
||||
var nativeView = stackLayout._nativeView;
|
||||
if (data.newValue === enums.Orientation.vertical) {
|
||||
nativeView.setOrientation(org.nativescript.widgets.Orientation.vertical);
|
||||
}
|
||||
else {
|
||||
nativeView.setOrientation(org.nativescript.widgets.Orientation.horzontal);
|
||||
}
|
||||
nativeView.setOrientation(data.newValue === enums.Orientation.vertical ? org.nativescript.widgets.Orientation.vertical : org.nativescript.widgets.Orientation.horzontal);
|
||||
}
|
||||
|
||||
private _layout: org.nativescript.widgets.StackLayout;
|
||||
|
||||
Reference in New Issue
Block a user