diff --git a/CrossPlatformModules.csproj b/CrossPlatformModules.csproj index 3cfa4b18a..31dde677d 100644 --- a/CrossPlatformModules.csproj +++ b/CrossPlatformModules.csproj @@ -238,6 +238,7 @@ color.xml + html-view.xml diff --git a/apps/gallery-app/app.css b/apps/gallery-app/app.css index 0dc6af8bc..42bbc7c77 100644 --- a/apps/gallery-app/app.css +++ b/apps/gallery-app/app.css @@ -19,4 +19,9 @@ ActionBar, TabView, ActivityIndicator, Label, Button, TextView, TextField, Searc Switch, Progress, Slider, SegmentedBar { color: mediumaquamarine; background-color: aquamarine; +}*/ + +/* +TextView, TextField, Label, Button { + text-decoration: underline; }*/ \ No newline at end of file diff --git a/apps/ui-tests-app/css/text-decoration.ts b/apps/ui-tests-app/css/text-decoration.ts new file mode 100644 index 000000000..eceb2f30e --- /dev/null +++ b/apps/ui-tests-app/css/text-decoration.ts @@ -0,0 +1,17 @@ +var obj; + +export function loaded(args) { + obj = args.object; +} + +export function butonTap(args) { + if (obj.style.textDecoration === "underline") { + obj.style.textDecoration = "line-through"; + } else if (obj.style.textDecoration === "line-through") { + obj.style.textDecoration = "line-through underline"; + } else if (obj.style.textDecoration === "line-through underline") { + obj.style.textDecoration = "none"; + } else if (obj.style.textDecoration === "none") { + obj.style.textDecoration = "underline"; + } +} \ No newline at end of file diff --git a/apps/ui-tests-app/css/text-decoration.xml b/apps/ui-tests-app/css/text-decoration.xml new file mode 100644 index 000000000..f1a99cadb --- /dev/null +++ b/apps/ui-tests-app/css/text-decoration.xml @@ -0,0 +1,32 @@ + + + +