Esri / arcgis-maps-sdk-toolkit-qt

ArcGIS Maps SDK for Qt Toolkit
Apache License 2.0
132 stars 61 forks source link

Updating the styling of BasemapGallery. #425

Closed anmacdonald closed 3 years ago

anmacdonald commented 3 years ago

Based on feedback from a week ago. Here is the styling update to put the text below/next to the image instead of above it.

image image
ldanzinger commented 3 years ago

@anmacdonald 2 things:

1) I believe the text on side vs under is backwards from what the JS implementation is. 2) Can we soften the selection color a bit like the JS implementation?

image

image

https://developers.arcgis.com/javascript/latest/sample-code/widgets-basemapgallery/

anmacdonald commented 3 years ago

The highlight color is coming from the default palette highlight color: https://doc.qt.io/qt-5/qml-palette.html

So they color should be set at the app level I think, palettes are inherited from their parent item. I don't feel too strongly on using the palette color scheme though if you'd like to make it custom.

anmacdonald commented 3 years ago

Updated the text order:

image image