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

Dropdown

SOLVED
Highlighted
Aquamarine

Dropdown

Thingworx : 8.5.2

 

Issue 1 : How do I set background color and font color for list item values before selection.I could not change default white background and black font color.

 

Issue 2 : I could not change opacity of colors.It is taking 1 for black.But I want to change it to 0.16.

 

Issue 3 : I could not change width of list items..

 

Please help me resolve the queries.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Dropdown

Hi @krishnakomal123 

 

This custom css can do as well

 

ptcs-list::part(list-item){
background: yellow !important;
}

 

Regards

Christophe

 

View solution in original post

3 REPLIES 3
Highlighted

Re: Dropdown

Hi @krishnakomal123 

 

You can change the background color of the rows by using a style Theme and apply it tot the mashup.

In the Style Theme define the desired color  under Elements > Grids and Lists > Lists and Dropdowns > Background > Main Row Background

 

The opacity is a known issue https://www.ptc.com/en/support/article/CS320384

 

The Dropdown widget does not allow to set the width , the legacy list widget does but it is legacy and may be deprecated soon. You can submit a Product idea to have this added in a future release.

 

Hope this helps

Regards

Christophe

 

Highlighted

Re: Dropdown

Is it possible to change it without style theme.Because if i use style theme it is impacting buttons and other widgets too.

Tags (1)
Highlighted

Re: Dropdown

Hi @krishnakomal123 

 

This custom css can do as well

 

ptcs-list::part(list-item){
background: yellow !important;
}

 

Regards

Christophe

 

View solution in original post

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!