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

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

icon within designer

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


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,

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