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.

Spreadsheet very small?

Johannes Kienzle
5 years ago Sep 13, 2016 4:23pm
Guillermo Alvarez
5 years ago Sep 13, 2016 7:53pm

Hi, 

Have you checked if the theme was updated to include spreadsheet theme?

If it was updated addonss.scss should look like:

@import "../../../VAADIN/addons/spreadsheet/spreadsheet.scss";


/* Import and include this mixin into your project theme to include the addon themes */
@mixin addons {
    @include spreadsheet;
}

If it's not updated and you are using maven you can run:

mvn vaadin:compile-theme

Once it's updated if you have runtime theme compilation you need to be sure it's not cached by force refreshing in your browser window.

If you have compiled your theme previously you have to re-compile it. With maven you compile it with:

mvn vaadin:compile-theme

Or if you're using the Vaadin Plugin for Eclipse there's a "Compile Theme" button.

Hope this helps!

Johannes Kienzle
5 years ago Sep 14, 2016 7:27am
Thomas Mattsson
5 years ago Sep 14, 2016 8:39am

As Guille said, this looks like a theme issue. Are you sure you are using the theme where you added the addon file? Do you have multiple themes in your project? Could you also double-check the style file that gets loaded into the browser for anything related to 'spreadsheet'?

dmitrii rogozin
5 years ago Sep 14, 2016 8:48am
Johannes Kienzle
5 years ago Sep 14, 2016 9:04am
Thomas Mattsson
5 years ago Sep 14, 2016 11:33am

Good thing you got it to work, and don't worry about the fuss. Now someone else will have the answer here :)