got to layouts

This commit is contained in:
Hristo Hristov
2016-12-09 17:57:17 +02:00
parent 07e2102c5d
commit 19ee47ba24
76 changed files with 941 additions and 1002 deletions

View File

@@ -112,7 +112,7 @@ function loadCustomComponent(componentPath: string, componentName?: string, attr
} else {
ensureTrace();
trace.write("CSS file found but no page specified. Please specify page in the options!", trace.categories.Error, trace.messageType.error);
traceWrite("CSS file found but no page specified. Please specify page in the options!", traceCategories.Error, trace.messageType.error);
}
}

View File

@@ -6,7 +6,6 @@ import { File, path, knownFolders } from "file-system";
import { getBindingOptions, bindingConstants } from "./binding-builder";
import * as debugModule from "utils/debug";
import * as platformModule from "platform";
import { convertString } from "utils/utils";
//the imports below are needed for special property registration
import "ui/layouts/dock-layout";
@@ -209,7 +208,7 @@ export function setPropertyValue(instance: View, instanceModule: Object, exports
attrHandled = (<any>instance)._applyXmlAttribute(propertyName, propertyValue);
}
if (!attrHandled) {
instance[propertyName] = convertString(propertyValue);
instance[propertyName] = propertyValue;
}
}
}