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.

Fixed size Button's Caption overflows.

Paul Henry
7 years ago Feb 16, 2016 11:43pm
Joacim Päivärinne
7 years ago Mar 24, 2016 2:54pm

Hey Paul,

You could do:

.v-button { overflow: hidden; text-overflow: ellipsis; }

Or you could change v-button-caption to:

.v-button-wrap {
  display: inline-flex;
  overflow: hidden;
  max-width: 100%;