Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Ellipsis(...) for label in mozilla
I am trying to use ellipsis(...) for lable. Its getting displayed in IE for main window and subwindos also.. And for mozilla, its working on main window but not for subwindows.
Please help me if you have any solution about this problem.
AFAIK there are some browser specific CSS properties for that:
-o-text-overflow: ellipsis; -icab-text-overflow: ellipsis; -khtml-text-overflow: ellipsis; -moz-text-overflow: ellipsis; -webkit-text-overflow: ellipsis;
Thnx Alexander.. But I have already tried above mentioned css properties. And as I said its working on main window but not for subwindows (pop up window).
Hi Jouni, I have used XBL and css to display ellipsis for label in firefox. And its working for main vaadin window. But its not working on subwindows as I mentioned above.
Can you paste here the exact css you are using (including the selector), maybe it is too strict for subwindows.
Sub windows are created outside of the app root, so you can't select them with .v-app, .v-theme-mytheme or .v-app-myapp.
I am using following css code:
And in vaadin I have called the css class as -