cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Translate the entire conversation x

dropdown selected option font

steve237
14-Alexandrite

dropdown selected option font

I'm using version 9.3.9

When I set the Selected Option Text size to greater than 22px, the displayed text is cut off on the top and bottom in runtime:

steve237_0-1738680671475.png

However, in composer, the dropdown box and font will grow appropriately:

steve237_1-1738680770838.png

the same happens in the theme preview mashup.  As I increast the Option Text font size above 22px, the Select... HintText in the Dropdown List gets cropped also.

steve237_2-1738680939520.png

I have tried adjusting every font size in the style theme and even tried the style property overrides for the dropdown widget, but can't find the correct setting to use.

 

Thanks,

Steve

 

1 REPLY 1

Hello Steve,

View in the composer and in the browser are two different worlds.
It will be displayed differently in the browser because the browser settings overwrite it with default.
It is more accurate to display the dropdown line height in the browser. I set it to 18px. I assume something similar with you.

With line-height

TL_9220870_0-1738761752694.png

line-height disabled

TL_9220870_1-1738761793689.png
I don't see what writes to this value in TWX, which is why the browser uses your default here.
Either way, there is a way to influence it in TWX, which I'm not aware of, or you have to look at how you can influence the browser settings.
hope something could help.

Announcements


Top Tags