Skip to main content
11-Garnet
October 28, 2020
Solved

Dropdown widget. Width of dropdown view

  • October 28, 2020
  • 1 reply
  • 2649 views

Hi,

We are using a multiselect dropdown widget in a mashup, but we can´t see all the text on the dropdown view.

Dropdown widget has Width property, but is it possible to configure only the width of the dropdown view?

Thanks in advance,

 

Best answer by icurcugli

I suggest to add this simple CSS line in the mashup that will autosize the width of the inner list:

ptcs-list {

       width: auto !important;

}

I’ve tested this on Thingworx 8.5 ant it works. Let me know if this resolve the issue…

1 reply

5-Regular Member
October 28, 2020

Hello @aetxeberria,

 

You can adjust/increase the Width property from the dropdown widget and you will be able to see all the text in runtime.

11-Garnet
October 28, 2020

Hi,

We don't want to modify the widget size. We only want to adjust the width of the dropdown view which is not the same as that of the widget width.

An image with the dropdown:

 

dropdown.PNG

The old list widget had WidthOfDropdownView if it was configured to show it as dropdown.

list.PNG

 

Thanks.

 

 

5-Regular Member
November 4, 2020

Hello @aetxeberria,

 

It seems the WidthOfDropdownView is not available to modify the width of the dropdown view. Have you tried importing the old Dropdown widget with the adjusted dropdown view width ?

 

Hope it helps,