Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

icon within designer

olaf raether
9 years ago Jul 09, 2012 12:57pm
Marc Englund
9 years ago Jul 10, 2012 10:58am

Hi,

This depends on what kind of Resources you're using and how... In the designer you can enter http:// or theme:// URLs which will be translated to ExternalResource and ThemeResource respectively. Other types of Resources are most likely not displayed in the designer at the moment. Also note that the ThemeResource can't currently be from your own theme, but needs to be from the Reindeer theme that the designer is running. Yes, quite limited at the moment.

It's worth noting, as you also noticed, that any type of Resource will still work when the application is run - they just don't appear in the designer (still annoying, though).

Also, if you set the icon in custom code that is not run in the design view (i.e not @AutoGenerated), then that will obviously not show up in the designer.

Best Regards,
Marc

olaf raether
9 years ago Jul 11, 2012 10:42am
Marc Englund
9 years ago Jul 11, 2012 2:44pm