icon not shown in dioxus desktop #4138
Unanswered
LikeCrazyShawn
asked this question in
Q&A
Replies: 1 comment
-
https://docs.rs/dioxus-desktop/0.6.3/dioxus_desktop/struct.Config.html#method.with_icon |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was able to display my icon in hotdog windows desktop app. however, when I use dioxus desktop's windowbuilder to lauch my windows app and use the same rsx! code to show my icon, it's not working. Anybody can help or is this a known issue?
my code like this:
use dioxus::LaunchBuilder;
use dioxus: :{
Config,
tao::{
dpi::{PhysicalPosition, PhysicalSize},
event_loop::EventLoop, // Needed to get primary monitor before launching Dioxus
monitor::MonitorHandle,
window::WindowBuilder,
}
};
fn main() {
}
#[component]
fn App() -> Element {
}
I also tried to use img { src: "{HEADICON}", id: "head"} but the result is same. I also tried manganis but still not able to get icon shown.
Beta Was this translation helpful? Give feedback.
All reactions