Update layouts test page.

This commit is contained in:
Vasil Chimev
2015-06-25 18:07:50 +03:00
parent cb3117059d
commit e3cafa2a1d

View File

@ -19,8 +19,8 @@ export class ViewModel extends observable.Observable {
public onMinWidthMinHeight(args: { eventName: string, object: any }): void {
var view: view.View = <view.View>args.object;
if (view.minWidth !== 95) {
view.minWidth = 95;
if (view.minWidth !== 105) {
view.minWidth = 105;
view.minHeight = 55;
} else {
view.minWidth = 0;
@ -105,8 +105,8 @@ export class ViewModel extends observable.Observable {
// MinWidthMinHeight
child = layout.getViewById("minWidthMinHeight");
if (child.minWidth !== 95) {
child.minWidth = 95;
if (child.minWidth !== 105) {
child.minWidth = 105;
child.minHeight = 55;
} else {
child.minWidth = 0;