ListStyle listStyle = style.listStyle;
ScrollPaneStyle scrollStyle = style.scrollStyle;
prefWidth = Math.max(
prefWidth,
maxItemWidth
<BUG>+ scrollStyle.background.getLeftWidth()
+ scrollStyle.background.getRightWidth()
</BUG>
+ listStyle.selection.getLeftWidth()
+ listStyle.selection.getRightWidth()

ListStyle listStyle = style.listStyle;
ScrollPaneStyle scrollStyle = style.scrollStyle;
prefWidth = Math.max(
prefWidth,
maxItemWidth
+ (scrollStyle.background == null ? 0 : scrollStyle.background.getLeftWidth()
+ scrollStyle.background.getRightWidth())
+ listStyle.selection.getLeftWidth()
+ listStyle.selection.getRightWidth()
