Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom icon styling on the AssetIconAttribute #5

Closed
Fydar opened this issue Sep 18, 2019 · 0 comments
Closed

Custom icon styling on the AssetIconAttribute #5

Fydar opened this issue Sep 18, 2019 · 0 comments
Assignees
Labels
✨ enhancement New feature or request
Milestone

Comments

@Fydar
Copy link
Owner

Fydar commented Sep 18, 2019

Allow custom styles to be defined on each AssetIconAttribute. This allows multiple images to be layers and positioned to convey as much information as possible.

[AssetIcon(width: "28%", height: "20%", maxSize: 128.0f, x: "-6%", y: "-6%")]

I have experimented with making the input method for styles a single CSS-style string, however this was far more complicated than it had to be. Some features from this experimentation (such as "expressions" that can be evaluated to create dynamically sized icons) will be retained from the experimentation.

@Fydar Fydar added the ✨ enhancement New feature or request label Sep 18, 2019
@Fydar Fydar self-assigned this Sep 18, 2019
@Fydar Fydar added this to In progress in AssetIcons 2.0 Sep 18, 2019
@Fydar Fydar moved this from In progress to Done in AssetIcons 2.0 Sep 20, 2019
@Fydar Fydar closed this as completed Sep 20, 2019
@Fydar Fydar added this to the Version 2.0 milestone Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

1 participant