diff --git a/apps/.vscode/launch.json b/apps/.vscode/launch.json index d2ea7615d..ba955c4f1 100644 --- a/apps/.vscode/launch.json +++ b/apps/.vscode/launch.json @@ -2,17 +2,30 @@ "version": "0.2.0", "configurations": [ { - "name": "Launch on iOS Device", + "name": "Sync on iOS", "type": "nativescript", "platform": "ios", "request": "launch", "appRoot": "${workspaceRoot}", "sourceMaps": true, "diagnosticLogging": false, - "emulator": false + "emulator": false, + "rebuild": false, + "syncAllFiles": true }, { - "name": "Attach on iOS Device", + "name": "Launch on iOS", + "type": "nativescript", + "platform": "ios", + "request": "launch", + "appRoot": "${workspaceRoot}", + "sourceMaps": true, + "diagnosticLogging": false, + "emulator": false, + "rebuild": true + }, + { + "name": "Attach on iOS", "type": "nativescript", "platform": "ios", "request": "attach", @@ -22,47 +35,30 @@ "emulator": false }, { - "name": "Launch on iOS Emulator", - "type": "nativescript", - "platform": "ios", - "request": "launch", - "appRoot": "${workspaceRoot}", - "sourceMaps": true, - "diagnosticLogging": false, - "emulator": true - }, - { - "name": "Attach on iOS Emulator", - "type": "nativescript", - "platform": "ios", - "request": "attach", - "appRoot": "${workspaceRoot}", - "sourceMaps": true, - "diagnosticLogging": false, - "emulator": true - }, - { - "name": "Launch on Android Device", + "name": "Sync on Android", "type": "nativescript", "platform": "android", "request": "launch", "appRoot": "${workspaceRoot}", "sourceMaps": true, "diagnosticLogging": false, - "emulator": false + "emulator": false, + "rebuild": false, + "syncAllFiles": true }, { - "name": "Launch on Android Emulator", + "name": "Launch on Android", "type": "nativescript", "platform": "android", "request": "launch", "appRoot": "${workspaceRoot}", "sourceMaps": true, "diagnosticLogging": false, - "emulator": true + "emulator": false, + "rebuild": true }, { - "name": "Attach on Android Device", + "name": "Attach on Android", "type": "nativescript", "platform": "android", "request": "attach", @@ -70,16 +66,6 @@ "sourceMaps": true, "diagnosticLogging": false, "emulator": false - }, - { - "name": "Attach on Android Emulator", - "type": "nativescript", - "platform": "android", - "request": "attach", - "appRoot": "${workspaceRoot}", - "sourceMaps": true, - "diagnosticLogging": false, - "emulator": true } ] } \ No newline at end of file diff --git a/apps/app/ui-tests-app/css/border-playground.css b/apps/app/ui-tests-app/css/border-playground.css new file mode 100644 index 000000000..46ef62499 --- /dev/null +++ b/apps/app/ui-tests-app/css/border-playground.css @@ -0,0 +1,13 @@ +StackLayout { + background-color: lightgray; +} + +Button { + font-size: 8; + width: 70; + height: 40; +} + +TextView { + font-size: 8; +} \ No newline at end of file diff --git a/apps/app/ui-tests-app/css/border-playground.ts b/apps/app/ui-tests-app/css/border-playground.ts new file mode 100644 index 000000000..ea037fc2d --- /dev/null +++ b/apps/app/ui-tests-app/css/border-playground.ts @@ -0,0 +1,39 @@ +import { EventData } from "data/observable"; +import { View } from "ui/core/view"; +import { Button } from "ui/button"; +import { Color } from "color"; +import { TextView } from "ui/text-view"; +import { ScrollView } from "ui/scroll-view"; + +let red = new Color("red"); +let green = new Color("green"); + +export function onToggle(args: EventData){ + let button =