-
Notifications
You must be signed in to change notification settings - Fork 29
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
#597 add border behind pfp #681
Conversation
I think it would make more sense to add this as an option on |
Can also experiment with |
Sure!
A) version with inner circle: B) version without inner circle:
or you have plans to customize this border/circle with some feature which will load the color or something from the profile info.. |
Just seen your comment:
tried now, so far it didn't help. I will try again later |
On Wed, Jan 29, 2025 at 09:36:06AM -0800, kuba-04 wrote:
Sure!
1. I just added that full circle behind. We may avoid adding inner circle if not image is available. Please let me know which one you like more:
A) version with inner circle:
![image](https://github.com/user-attachments/assets/e3987f65-9852-4592-9782-8eec821771d5)
B) version without inner circle:
![image](https://github.com/user-attachments/assets/278f7212-e562-4a5c-b3fe-adf16cfd3318)
A looks good to me
2. As for the option for ProfilePic struct, I have some problem with this. Maybe I misunderstood, but id I add it to the struct, then there will be many places to choose on that option. It actually showed me how many times we have to create a new ProfilePic, hmm do we need some many of them? I will double check that. But for this issue basically my question is: **where do we want to decide on that border to exist or not?**
you set it via a method on ProfilePic. something like
ui.add(ProfilePic::new().border(2.0))
|
thanks, I am here to learn from you guys. Added, but not sure if the size is good in all places |
On Thu, Jan 30, 2025 at 10:16:36AM -0800, kuba-04 wrote:
> you set it via a method on ProfilePic. something like
> ui.add(ProfilePic::new().border(2.0))
thanks, I am here to learn from you guys.
Added, but not sure if the size is good in all places
I'll take a look again soon, I'm just working on our alpha 2 release atm
|
thanks! sorry for the delay, I added a commit on top of this to make it look bit cleaner: |
nice! if you don't mind I am gonna pick up more issues for notedeck as I am using the app regularly. |
great! |
fixes #597