darkmoonight / Rain

🌦️ Weather application
MIT License
582 stars 44 forks source link

Make the widget background transparent and include more information #107

Closed vivadavid closed 6 months ago

vivadavid commented 8 months ago

Hi,

First of all, thank you for adding a widget to the app. I've quickly tried it, but I was wondering if there could be an option to make the background transparent.

Also, resizing the widget doesn't make it display more information.

Thanks!

Leonavichus commented 8 months ago

Hi, as I already wrote in #1, all this is already in the plans. I am still developing in creating widgets and will add new features as I study.

vivadavid commented 8 months ago

Hi, as I already wrote in #1, all this is already in the plans. I am still developing in creating widgets and will add new features as I study.

Thanks!

shatanikmahanty commented 8 months ago

@Leonavichus I did some research into widget transparency and achieved it using this code:

image

Would it be a good idea to let users pick the color for the widget using a color picker inside the app settings? And then call the update widget method in the controller?

I can work on a PR on this if you want! In this manner we would be giving lots of customizability rather than directly setting it transparent.

Leonavichus commented 8 months ago

@shatanikmahanty, You are my salvation, you would help me a lot with this! I would be very grateful for your help! πŸ™

shatanikmahanty commented 8 months ago

@shatanikmahanty, You are my salvation, you would help me a lot with this! I would be very grateful for your help! πŸ™

Would get back with a pr soon ☺️