Jerry Yion
06/22/2023, 8:19 AMresources
folder?
I am running an intellij plugin demo. Its UI is built by Compose Desktop. Now I am trying to load a icon file under the resources
folder into a Compose Image widget
Image(
painter = painterResource("chat.png"),
contentDescription = null
)
but it reports error like below
Resource chat.png not found
however, it works in the Compose Desktop project. I am so confused.robercoding
06/23/2023, 5:49 AMicons
folder under resources
folder. And this is how it looksJerry Yion
06/23/2023, 5:59 AMrobercoding
06/23/2023, 6:08 AMJerry Yion
06/25/2023, 1:30 AM