Ability to set application icon in both titlebar and taskbar
Please Describe The Problem To Be Solved Right now, it is only possible to set the icon of the application (if its not web) during the building process. I feel like if we have the option to change it even before building it would be more efficient because wed be able to see how the icon looks even before building the application to exe
(Optional): Suggest A Solution so idk how to do implement that but I guess it could be smth like:
page.set_icon(icon_path: str)
If you are a windows user, give page.window.icon ="path/to/image" a try.
If you are a windows user, give
page.window.icon ="path/to/image"a try.
doesnt work, with both png and jpg
doesnt work, with both png and jpg
you have to use image with .ico extension
@ndonkoHenri I found an bug with page.window.icon, absolute path to the icon has to be provide, e.g. instead of page.window.icon = "assets/icon.ico" you have to use page.window.icon = "C:/Users/<user>/<path to project folder>/assets/icon.ico"
Ok. It will be addressed.
@Kacper-OS, will you mind giving the latest prerelease a try?: https://pypi.org/project/flet/#history
@Kacper-OS, will you mind giving the latest prerelease a try?: https://pypi.org/project/flet/#history
sorry but it looks like it still doesn't work
I have the same issue, it still doens't work