Giter Site home page Giter Site logo

Comments (5)

bradmartin avatar bradmartin commented on May 22, 2024

Send some screens and layout code you have to reproduce it. I have a drop
shadow in my listview, add a little padding to the cards and it looks okay.
It might be an issue with your layout specifically so let me know and I'll
try to help out.

On Thu, May 5, 2016, 4:41 AM firecube [email protected] wrote:

Hi,

I presume this is a limitation in the nativescript controls but when I
have a card view inside a list view or a repeater the cards have no drop
shadow.

I had to wrap the card in a StackLayout with padding otherwise the cards
were right on top of each other on iOS but I have tried without this and
still have the same behaviour.

Thanks, Simon


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#18

from nativescript-cardview.

matt4446 avatar matt4446 commented on May 22, 2024

@firecube I had a similar problem. Try giving it a margin.

from nativescript-cardview.

firecube avatar firecube commented on May 22, 2024

Thanks @matt4446 that was it!

from nativescript-cardview.

hackerunet avatar hackerunet commented on May 22, 2024

Hi there, I know it's been a while, but I'm trying to restyle my ListView to replace each item for a fancy card with drop shadow but, I got no drop shadow and I cannot hide each item divider , the divider is always there, can you tell me how to hide each ListView item divider??
Thanks

from nativescript-cardview.

bradmartin avatar bradmartin commented on May 22, 2024

@hackerunet - there is separatorColor property on listview (https://docs.nativescript.org/api-reference/globals look for the listview class here), you can color it to blend it into your background if you want. There are ways to remove it, just not sure at this moment.

from nativescript-cardview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.