Hi all,
I reproduce this problem on your feature explorer with version "v12.0p_2019-01-15/AllModules Development Only". With browser IE 11 and Edge.
For example this code:
then the result look like this, text is on two lines but it could be on one line. Because max width 300px is enough
And it happen only for some Density, in this case I used Expanded.
I also found why it happen. Because for some reason you are clear baseStyle before Hover measure content size:
Hover.js
Then you are using different CSS class for measureContent and in real showing of hover. And these different CSS classes cause wrong measurement.
Thank you for your answer.
Jirka
I reproduce this problem on your feature explorer with version "v12.0p_2019-01-15/AllModules Development Only". With browser IE 11 and Edge.
For example this code:
Code:
isc.Button.create({ autoFit: true, title: "CSS Button", icon: "icons/16/icon_add_files.png", prompt: "Create scenario", hoverAutoFitMaxWidth : 300 });
And it happen only for some Density, in this case I used Expanded.
I also found why it happen. Because for some reason you are clear baseStyle before Hover measure content size:
Hover.js
Then you are using different CSS class for measureContent and in real showing of hover. And these different CSS classes cause wrong measurement.
Thank you for your answer.
Jirka
Comment