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

[HomeApplication][WApps] Add badge icon #55

Open
p-czaja opened this issue Jun 16, 2020 · 4 comments
Open

[HomeApplication][WApps] Add badge icon #55

p-czaja opened this issue Jun 16, 2020 · 4 comments

Comments

@p-czaja
Copy link
Contributor

p-czaja commented Jun 16, 2020

  1. Add property:
    int Badge
    to the RotarySelectorItem class that is responsible for viewing the set number next to item icon. If the number is 0 (default) no number is displayed.
@p-czaja
Copy link
Contributor Author

p-czaja commented Jun 16, 2020

@huiyueun, could you please take a look?

@huiyueun
Copy link
Contributor

#70

@huiyueun
Copy link
Contributor

I've added 'Badge' property to RotarySelectorItem.
If you set 'Badge' property, draw badge icon.
ex)
RotarySelectorItem item;
item.Badge = 4;

But Badge icon have problem.
If the Badge number is three-digit or two-digit, the badge icon size should be increased. If I increase the size arbitrarily, the image will be broken. Images with large badge icon resources cannot be found. How do we deal with it?

@huiyueun
Copy link
Contributor

#90

I changed it to the resource you sent me.
But I think "bg_1.9.png" is also needed, but there is no file.
could you check this file?

1 digit -> bg_1.9.png
2 digit -> bg_2.9.png
3 digit -> bg_3.9.png
And the UX guide and the file you sent are different.

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

No branches or pull requests

2 participants