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

Additional Icons #22

Closed
linonetwo opened this issue Mar 23, 2020 · 2 comments
Closed

Additional Icons #22

linonetwo opened this issue Mar 23, 2020 · 2 comments

Comments

@linonetwo
Copy link

linonetwo commented Mar 23, 2020

I'd like to implement unifiedremote/Remotes#120 to be something like https://iooio.io/toucharch/

I need icons for copy and paste.

But I found only these icons https://github.com/unifiedremote/Docs/blob/master/res/icons.md

Is it possible to send icons or image as text/base64 to the phone? And use image tag to display it in the button?

@pqvst
Copy link
Contributor

pqvst commented Mar 24, 2020

You can use custom images on buttons. Simply place the image in the same folder as the remote and refer to it like this: https://github.com/unifiedremote/Docs/blob/master/controls/button.md#image

@pqvst pqvst closed this as completed Mar 24, 2020
@linonetwo
Copy link
Author

linonetwo commented Mar 25, 2020

Can I create a button with both label text and image icon?

I had gone through all the doc but not found an answer.

I think it may be something like:

<grid ontap="foo_tapped">
	<label id="my_label" text="foo" />
    <button image="img.png" />
</grid>

And it should look like a whole, click like a whole, can I achieve that?

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

2 participants