Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not get the button to show an icon from an image file #1

Open
DennisBublin opened this issue May 10, 2023 · 0 comments
Open

Could not get the button to show an icon from an image file #1

DennisBublin opened this issue May 10, 2023 · 0 comments

Comments

@DennisBublin
Copy link

DennisBublin commented May 10, 2023

Hello,

I used the included live script to experiment, but also tried it with the button added to app designer, neither worked.

I tried to use the icon.png that is included in the code and some other png and jpg files to be shown as a button icon, but could not get it to work.

It would only look like this after adding the location of the image file to the .Icon property, either as string or char:
image

I tried with the complete path to the file and with only the filename.

Not sure if I do something wrong though, as I have no experience in HTML, JS or CSS.
I used ML 2022b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant