Giter VIP home page Giter VIP logo

Comments (10)

mhdostal avatar mhdostal commented on June 27, 2024 2

How about this? I can't get the exclamation mark to move up and to the right of the thumbnail without making the thumbnail smaller, as the icon is right at the top/trailing edge of the list. Any higher and it gets clipped.

And rounded rects.

image

from arcgis-maps-sdk-swift-toolkit.

rolson avatar rolson commented on June 27, 2024 1

We have a a few Basemaps hard-coded that we know will fail. The user should rarely see this in practice as most maps are WM

from arcgis-maps-sdk-swift-toolkit.

rolson avatar rolson commented on June 27, 2024

I have a branch that does that here. It needs to be fixed so the icon isn't cut off.

from arcgis-maps-sdk-swift-toolkit.

mhdostal avatar mhdostal commented on June 27, 2024

I like this idea as well. The thumbnail fills the space it's given, so there are three ways to get it to work:

1.) Move the icon inside the bounds of the thumbnail
image

2.) Shrink the thumbnail if there's an error to provide room for the icon
image

3.) Always shrink the thumbnails so they are all consistent, whether there's an error or not
image

Thoughts?

from arcgis-maps-sdk-swift-toolkit.

mhdostal avatar mhdostal commented on June 27, 2024

cc: @dfeinzimer

from arcgis-maps-sdk-swift-toolkit.

yo1995 avatar yo1995 commented on June 27, 2024

I like 1. Another idea: what about putting the exclamation mark at the center of the thumbnail? Did a quick look up in HIG but didn't find anything related.

from arcgis-maps-sdk-swift-toolkit.

rolson avatar rolson commented on June 27, 2024

I was drawing inspiration from this:

image

I like option 1 or 3. Maybe option 3 a bit more. Maybe option 3 but reduce the space a bit between the thumbnails. Also did we consider rounding the thumbnail corners?

from arcgis-maps-sdk-swift-toolkit.

dfeinzimer avatar dfeinzimer commented on June 27, 2024

At first I liked option 2 better because I felt the larger tiles preserved more details in the previews but now I think the consistent sizing in option 3 looks better.

I might be misremembering but didn't we remove the red we had before in PR 39 because Eric suggested it may be too distracting?
Simulator Screen Shot - iPad Pro (12 9-inch) (5th generation) - 2022-05-04 at 15 30 52

from arcgis-maps-sdk-swift-toolkit.

rolson avatar rolson commented on June 27, 2024

That's right, we did have something similar. Sorry, I forgot about that. I do think the right sizing of this element is important if we choose to go with it. I think smaller and we can get an idea by how iOS uses it. Looking how it is used in the iOS home screen, the size the icon takes up is not part of the size of the button. It is eating into the space between the buttons. That's important for getting the spacing and sizing right.

exclamation

from arcgis-maps-sdk-swift-toolkit.

rolson avatar rolson commented on June 27, 2024

I like it

from arcgis-maps-sdk-swift-toolkit.

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.