mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Update layouts test pages.
This commit is contained in:
@@ -19,8 +19,8 @@ export class ViewModel extends observable.Observable {
|
|||||||
|
|
||||||
public onMinWidthMinHeight(args: { eventName: string, object: any }): void {
|
public onMinWidthMinHeight(args: { eventName: string, object: any }): void {
|
||||||
var view: view.View = <view.View>args.object;
|
var view: view.View = <view.View>args.object;
|
||||||
if (view.minWidth !== 66) {
|
if (view.minWidth !== 95) {
|
||||||
view.minWidth = 66;
|
view.minWidth = 95;
|
||||||
view.minHeight = 55;
|
view.minHeight = 55;
|
||||||
} else {
|
} else {
|
||||||
view.minWidth = 0;
|
view.minWidth = 0;
|
||||||
@@ -105,8 +105,8 @@ export class ViewModel extends observable.Observable {
|
|||||||
|
|
||||||
// MinWidthMinHeight
|
// MinWidthMinHeight
|
||||||
child = layout.getViewById("minWidthMinHeight");
|
child = layout.getViewById("minWidthMinHeight");
|
||||||
if (child.minWidth !== 66) {
|
if (child.minWidth !== 95) {
|
||||||
child.minWidth = 66;
|
child.minWidth = 95;
|
||||||
child.minHeight = 55;
|
child.minHeight = 55;
|
||||||
} else {
|
} else {
|
||||||
child.minWidth = 0;
|
child.minWidth = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user