2015-06-30, 08:45
All,
I am developing a plugin that shows data. One of the data fields is a list of items. The area of the control is limited and I would like the lit to have a scroll. How do I do that.
my current code is:
self.myTextArea = xbmcgui.ControlList(0, 0, 150, 150)
self.addControl(self.myTextArea)
self.myTextArea.addItem("AAAA")
self.myTextArea.addItem("BBBB")
self.myTextArea.addItem("CCCC")
self.myTextArea.addItem("DDDD")
self.myTextArea.addItem("EEEE")
self.myTextArea.addItem("FFFF")
(to view "EEEE" and "FFFF", I need a scroll up/down)
Thx,
Yohay
I am developing a plugin that shows data. One of the data fields is a list of items. The area of the control is limited and I would like the lit to have a scroll. How do I do that.
my current code is:
self.myTextArea = xbmcgui.ControlList(0, 0, 150, 150)
self.addControl(self.myTextArea)
self.myTextArea.addItem("AAAA")
self.myTextArea.addItem("BBBB")
self.myTextArea.addItem("CCCC")
self.myTextArea.addItem("DDDD")
self.myTextArea.addItem("EEEE")
self.myTextArea.addItem("FFFF")
(to view "EEEE" and "FFFF", I need a scroll up/down)
Thx,
Yohay