Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
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.
Solved! Go to Solution.
This custom css can do as well
ptcs-list::part(list-item){
background: yellow !important;
}
Regards
Christophe
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
Is it possible to change it without style theme.Because if i use style theme it is impacting buttons and other widgets too.
This custom css can do as well
ptcs-list::part(list-item){
background: yellow !important;
}
Regards
Christophe