Closed vikky999 closed 9 months ago
This is what it should be i figure, same as cargo run
The little black squares are the resize handle
oh, didn't know what those were. thanks for letting me know
but the behaviour of preview hasn't changed. it is still looking for the icon's in a different place than the code does. is that to be expected ?
as you can see, cargo build fails, but preview works. and vice versa. this is on a macbook pro, with everything updated.
the only way to make the code and preview both work is to copy the icons folder in both the root and src directories. which is fine by me, just request updating the documentation accordingly. confused me thoroughly when i was trying to go through the getting started tutorial thx !
Do you use the self compiled extension? Or the nightly build?
(The patch was only merged today, so the nightly extension will have the fix tomorrow)
Self compiled. I just added the git repo to cargo as shown in the first comment
Nevermind. I see what you mean. You probably mean the vscode extension. No guess not. I'll try again tomorrow
Works now as expected
Thank you !
Closing
Picked up the latest changes from master using Cargo.toml [package] name = "memory" version = "0.1.0" edition = "2021"
[dependencies]
slint = "1.3.2"
slint = { git = "https://github.com/slint-ui/slint" }
In the memory example, show preview still doesn't show the bus , instead get some weird icon