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

Create an Icon view #35

Merged
merged 11 commits into from Apr 3, 2022
Merged

Create an Icon view #35

merged 11 commits into from Apr 3, 2022

Conversation

LunaeSomnia
Copy link
Contributor

@LunaeSomnia LunaeSomnia commented Apr 2, 2022

Created a wrapper for an icon.

Currently, it supports no functionality, but I've thought about adding in a future the following features:

  • Icon swapping
  • onhover functionality (change color for example)

TO-DO:

  • Figure out how to wrap the Label on a Frame so it matches the Figma design (frame is 24px wide, icon is 16px wide inside the frame). --> I don't know if HStack is the preferred solution for the wrapping Fixed
  • Change the constant values to an enumerator so no other value can be passed inside the Icon (an thus, not rendering anything).

@LunaeSomnia LunaeSomnia changed the title Create src/ui/views/icon.rs Creating an Icon view Apr 3, 2022
@LunaeSomnia LunaeSomnia changed the title Creating an Icon view Create an Icon view Apr 3, 2022
@geom3trik geom3trik merged commit b47a535 into MeadowlarkDAW:prototype Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants