mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
committed by
Nathan Walker
parent
9d4f1382f1
commit
621c8302f2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -34,7 +34,7 @@
|
||||
</data>
|
||||
<key>Info.plist</key>
|
||||
<data>
|
||||
ADh4pPlA/MlPeoqmSDibKmrOKb0=
|
||||
Xj1cG5BPcNRo2kinT2TzpxSuwlc=
|
||||
</data>
|
||||
<key>Modules/module.modulemap</key>
|
||||
<data>
|
||||
|
||||
Binary file not shown.
@@ -1154,7 +1154,6 @@ export const iosIgnoreSafeAreaProperty = new InheritedProperty({
|
||||
valueConverter: booleanConverter,
|
||||
});
|
||||
iosIgnoreSafeAreaProperty.register(ViewCommon);
|
||||
|
||||
accessibilityIdentifierProperty.register(ViewCommon);
|
||||
accessibilityLabelProperty.register(ViewCommon);
|
||||
accessibilityValueProperty.register(ViewCommon);
|
||||
|
||||
@@ -113,11 +113,11 @@ export class StackLayout extends StackLayoutBase {
|
||||
|
||||
switch (this.verticalAlignment) {
|
||||
case VerticalAlignment.MIDDLE:
|
||||
childTop = (bottom - top - this._totalLength) / 2 + paddingTop - paddingBottom;
|
||||
childTop = (bottom - top - this._totalLength) / 2 + paddingTop;
|
||||
break;
|
||||
|
||||
case VerticalAlignment.BOTTOM:
|
||||
childTop = bottom - top - this._totalLength + paddingTop - paddingBottom;
|
||||
childTop = bottom - top - this._totalLength + paddingTop;
|
||||
break;
|
||||
|
||||
case VerticalAlignment.TOP:
|
||||
@@ -147,11 +147,11 @@ export class StackLayout extends StackLayoutBase {
|
||||
|
||||
switch (this.horizontalAlignment) {
|
||||
case HorizontalAlignment.CENTER:
|
||||
childLeft = (right - left - this._totalLength) / 2 + paddingLeft - paddingRight;
|
||||
childLeft = (right - left - this._totalLength) / 2 + paddingLeft;
|
||||
break;
|
||||
|
||||
case HorizontalAlignment.RIGHT:
|
||||
childLeft = right - left - this._totalLength + paddingLeft - paddingRight;
|
||||
childLeft = right - left - this._totalLength + paddingLeft;
|
||||
break;
|
||||
|
||||
case HorizontalAlignment.LEFT:
|
||||
|
||||
@@ -154,11 +154,11 @@ public class StackLayout extends LayoutBase {
|
||||
|
||||
switch (verticalGravity) {
|
||||
case Gravity.CENTER_VERTICAL:
|
||||
childTop = (bottom - top - this._totalLength) / 2 + paddingTop - paddingBottom;
|
||||
childTop = (bottom - top - this._totalLength) / 2 + paddingTop;
|
||||
break;
|
||||
|
||||
case Gravity.BOTTOM:
|
||||
childTop = bottom - top - this._totalLength + paddingTop - paddingBottom;
|
||||
childTop = bottom - top - this._totalLength + paddingTop;
|
||||
break;
|
||||
|
||||
case Gravity.TOP:
|
||||
@@ -197,11 +197,11 @@ public class StackLayout extends LayoutBase {
|
||||
|
||||
switch (horizontalGravity) {
|
||||
case Gravity.CENTER_HORIZONTAL:
|
||||
childLeft = (right - left - this._totalLength) / 2 + paddingLeft - paddingRight;
|
||||
childLeft = (right - left - this._totalLength) / 2 + paddingLeft;
|
||||
break;
|
||||
|
||||
case Gravity.RIGHT:
|
||||
childLeft = right - left - this._totalLength + paddingLeft - paddingRight;
|
||||
childLeft = right - left - this._totalLength + paddingLeft;
|
||||
break;
|
||||
|
||||
case Gravity.LEFT:
|
||||
|
||||
Reference in New Issue
Block a user