Text font size in a Confirm Box

Hi all,
I'm migrating a tool from Webix 2.5 to Webix 6.4 and I have a problem to increase text size in confirm boxes.
In version 2.5 (and until version 6.1), when the font size is changed (using style in the header section), the height of the box was adapted to display the text.
But since the version 6.2, the box is not resized, and the text is not fully displayed.

See the following snippet for example:
https://snippet.webix.com/doajwjda

If I set the height of the box, I have a blank area created under the buttons, but the text area is not increased.

I need bigger texts because my tool is displayed on tablets and the standard font size is too small.

Is it possible to fix this issue, or I have to use another component (modalbox or something else) ?

Comments

  • edited August 1

    Hey @TeKa, it seems like popup text in the version 6.2 and above has a fixed line-height of 20px, you can fix this by setting a default line-height, which in this case would be line-height: inherit for your .webix_popup_text. The end result is basically the same. Here's an example: https://snippet.webix.com/3lrm0wyp. But basically the popup height still gets adapted to the text size, but it will eventually overflow with too much text and it won't be able to show the rest.

  • Hi Dzmitry,
    Thank you, this is exactly what I need.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion