mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Css gradients (#5534)
* feat(ios): Added support for css gradients. * feat(android): Added support for css gradients. * fix: Fixed gradient borders on ios * fix(gradient): added backgroundGradient to View and Style. * fix(ios-gradients): fixed ios gradients covering view content. * test(gradient): Added ui app tests for background gradients. * test(gradient): Added a test ensuring background gradient property is applied to style. * style(gradient): Fixed tslint errors. * fix(gradient): Removed the background-gradient property and added the gradient to background-image. * style: fixed a consecutive blank line tslint error. * fix(tests): fixed the bug that was causing tests to fail. * chore(linear-gradient): fix equality comparer * test(gradient): add linear gradients test app * chore(tslint): update with latest tslint rules
This commit is contained in:
22
apps/app/ui-tests-app/css/gradient-border.xml
Normal file
22
apps/app/ui-tests-app/css/gradient-border.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<Page>
|
||||
<GridLayout rows="*,*,*,*,*,*" columns="*,*,*">
|
||||
<StackLayout id="s0" row="0" col="0"/>
|
||||
<StackLayout id="s1" row="0" col="1"/>
|
||||
<StackLayout id="s2" row="0" col="2"/>
|
||||
<StackLayout id="s3" row="1" col="0"/>
|
||||
<StackLayout id="s4" row="1" col="1"/>
|
||||
<StackLayout id="s5" row="1" col="2"/>
|
||||
<StackLayout id="s6" row="2" col="0"/>
|
||||
<StackLayout id="s7" row="2" col="1"/>
|
||||
<StackLayout id="s8" row="2" col="2"/>
|
||||
<StackLayout id="s9" row="3" col="0"/>
|
||||
<StackLayout id="s10" row="3" col="1"/>
|
||||
<StackLayout id="s11" row="3" col="2"/>
|
||||
<StackLayout id="s12" row="4" col="0"/>
|
||||
<StackLayout id="s13" row="4" col="1"/>
|
||||
<StackLayout id="s14" row="4" col="2"/>
|
||||
<StackLayout id="s15" row="5" col="0"/>
|
||||
<StackLayout id="s16" row="5" col="1"/>
|
||||
<StackLayout id="s17" row="5" col="2"/>
|
||||
</GridLayout>
|
||||
</Page>
|
||||
Reference in New Issue
Block a user