From 88f224272b434a835871f7a9d8598f54c479df8c Mon Sep 17 00:00:00 2001 From: Manol Donev Date: Fri, 15 Mar 2019 17:42:03 +0200 Subject: [PATCH] fix: expose missing css background* properties on View (#7032) --- .../app/ui-tests-app/css/background-image.css | 5 ++++ .../app/ui-tests-app/css/background-image.xml | 29 +++++++++++++++++++ apps/app/ui-tests-app/css/main-page.ts | 1 + tns-core-modules/ui/core/view/view-common.ts | 22 ++++++++++++++ 4 files changed, 57 insertions(+) create mode 100644 apps/app/ui-tests-app/css/background-image.css create mode 100644 apps/app/ui-tests-app/css/background-image.xml diff --git a/apps/app/ui-tests-app/css/background-image.css b/apps/app/ui-tests-app/css/background-image.css new file mode 100644 index 000000000..19bc3c719 --- /dev/null +++ b/apps/app/ui-tests-app/css/background-image.css @@ -0,0 +1,5 @@ +.testBtn { + background-image: url("res://icon"); + background-repeat: no-repeat; + color: black; +} diff --git a/apps/app/ui-tests-app/css/background-image.xml b/apps/app/ui-tests-app/css/background-image.xml new file mode 100644 index 000000000..115bbbac4 --- /dev/null +++ b/apps/app/ui-tests-app/css/background-image.xml @@ -0,0 +1,29 @@ + + +