Hi there, I am doing some UI modding in Maya. The docs on this command seem incomplete, I can’t see how to use icons with them. I searched and used AI below.
Is this correct ? People just skip this Maya control and build something else?
The verdict is unanimous across all Maya communities — iconTextScrollList icons simply do not work from MEL or Python.
As far back as 2012, users were reporting seeing absolutely no visual difference between iconTextScrollList and textScrollList, with no flags available for adding icons. The same question was asked in 2007 — noting that -append adds only a text label with an empty space on the left where the icon should be, and no flags or anything else related to icons can be found in the command. Highend3dHighend3d
The only lead in the docs is the undocumented -numberOfIcons flag, but nobody in any forum across 18+ years has ever reported making it actually display icons. The widget appears to be a stub — it exists in the C++ layer but the icon functionality was never wired up to the MEL/Python API.
The practical conclusion: if you want icons next to list items, the iconTextButton rows inside a scrollLayout approach I showed earlier is the only real MEL option. It’s what you’d need to use.