mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
got to layouts
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user