Text size for different languages

For non-english characters, how can I automatically adjust the text size for all components? The problem is, english characters takes less space whereas non-english takes more. Here is a sample picture showing the same. In the left side, it is one line but on the right side, it is two lines.
image.png

In Vaadin, the window autoscales to accomodate this which doesn’t look good

You can set a maximum width for the dialog. You can also change the css based on the lang attribute: :lang() - CSS: Cascading Style Sheets | MDN