diff --git a/apps/app/ui-tests-app/css/main-page.ts b/apps/app/ui-tests-app/css/main-page.ts index 7ecb435fc..a1d206613 100644 --- a/apps/app/ui-tests-app/css/main-page.ts +++ b/apps/app/ui-tests-app/css/main-page.ts @@ -42,6 +42,7 @@ export function pageLoaded(args: EventData) { examples.set("listview_bg_separator_color", "css/listview_bg_separator_color"); examples.set("padding-and-border", "css/padding-and-border"); examples.set("border-playground", "css/border-playground"); + examples.set("textview-hint-color", "css/textview-hint-color"); let viewModel = new SubMainPageViewModel(wrapLayout, examples); page.bindingContext = viewModel; diff --git a/apps/app/ui-tests-app/css/text-transform.ts b/apps/app/ui-tests-app/css/text-transform.ts index f0f6f30d6..bf30d816d 100644 --- a/apps/app/ui-tests-app/css/text-transform.ts +++ b/apps/app/ui-tests-app/css/text-transform.ts @@ -1,49 +1,42 @@ -import * as view from "ui/core/view"; -import * as label from "ui/label"; -import * as button from "ui/button"; -import * as textField from "ui/text-field"; -import * as textView from "ui/text-view"; +import { Label } from "ui/label"; +import { Button } from "ui/button"; +import { TextField } from "ui/text-field"; +import { TextView } from "ui/text-view"; +import { Page } from "ui/page"; -export function changeTextButonTap(args) { - var btnChange = args.object; - var lbl = btnChange.parent.getViewById("Label"); - var btn = btnChange.parent.getViewById("Button"); - var textField = btnChange.parent.getViewById("TextField"); - var textView = btnChange.parent.getViewById("TextView"); - - if(lbl.text === "Change text") { - lbl.text = btn.text = textField.text = textView.text = "Text changed"; +export function onChangeText(args) { + const page = args.object.page; + const lblElelemtn = diff --git a/apps/app/ui-tests-app/font/main-page.ts b/apps/app/ui-tests-app/font/main-page.ts index e0e191818..b7331685d 100644 --- a/apps/app/ui-tests-app/font/main-page.ts +++ b/apps/app/ui-tests-app/font/main-page.ts @@ -18,6 +18,7 @@ export function pageLoaded(args: EventData) { examples.set("nordic", "nordic/nordic"); examples.set("customfonts", "font/custom-fonts"); examples.set("all-fonts", "font/all-fonts"); + examples.set("awesome-3654", "font/issue-3654"); let viewModel = new SubMainPageViewModel(wrapLayout, examples); page.bindingContext = viewModel; diff --git a/apps/app/ui-tests-app/fonts/FontAwesome.ttf b/apps/app/ui-tests-app/fonts/FontAwesome.ttf new file mode 100644 index 000000000..35acda2fa Binary files /dev/null and b/apps/app/ui-tests-app/fonts/FontAwesome.ttf differ diff --git a/apps/app/ui-tests-app/tab-view/tab-view-icon.ts b/apps/app/ui-tests-app/tab-view/tab-view-icon.ts index ff57cbb79..39c0a5b8f 100644 --- a/apps/app/ui-tests-app/tab-view/tab-view-icon.ts +++ b/apps/app/ui-tests-app/tab-view/tab-view-icon.ts @@ -7,7 +7,7 @@ let iconModes = ["automatic", "alwaysOriginal", "alwaysTemplate", undefined]; export function onChangeRenderingMode(args: EventData){ let button = (