Skip to content

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

Open
@DennisBublin

Description

@DennisBublin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions