Menubar-widget, changing icon size
Hello devs,
What would be the easiest way to change the icon size in the standard ptc-menubar widget in Thingworx? I couldn't find it in the list of configurable properties/style properties of the widget, and didn't have luck with changing it with css. The default size is very small, making the icons somewhat unreadable.
I tested three different css lines like following, but couldn't even get these to appear in the browser dev tools. If i go manually to the icon element in the dev tools and set width/height to desired values it works and looks nice, but can't get it to be part of mashup configuration.
ptcs-menubar::part(root)::part(main-area)::part(items-area)::part(item)::part(icon) {
height: 3em;
width: 3em;
}
@supports (ptcs-style-unit: "PTCS-MENUBAR") {
[part="icon"] {
height: 3em;
width: 3em;
}
}
@supports (ptcs-style-unit: "PTCS-ACCORDION") {
[part="icon"] {
height: 3em;
width: 3em;
}
}
I even noticed that there is support for this in the web component API for ptcs-menubar (https://support.ptc.com/help/thingworx_hc/visual_sdk/Web_Components/ptcs-menubar/), but seems like it's not implemented in the widget itself?

ThingWorx 9.3.4
Thanks for help.

