mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix the LayoutParams
This commit is contained in:
@@ -69,9 +69,8 @@ export function buildUIAndRunTest(controlToTest, testFunction, pageCss?) {
|
||||
clearPage();
|
||||
let newPage = getCurrentPage();
|
||||
newPage.content = controlToTest;
|
||||
if (pageCss) {
|
||||
newPage.css = pageCss;
|
||||
}
|
||||
|
||||
newPage.css = pageCss;
|
||||
|
||||
testFunction([controlToTest, newPage]);
|
||||
newPage.content = null;
|
||||
|
||||
Reference in New Issue
Block a user