Hi all,
continuing with experiment I have fixed some of the previous iussues.
2) Is possible to let the buttons to react to the OnClick event ? Something like:
button:SetScript("OnClick", function() ... bla bla
|
Now it works. I let it working removing:
Lua Code:
scrollFrame:EnableMouse(true)
scrollFrame:Show()
from the scrollframe definition.
1) in the frame I have created I have the button text that are "centered" ... I am trying to let them left justify but none of the methods I used till now seems to work.
|
I have used a different approach here... I used different templates for buttons so I justified them leaving the text centered. Later I'll try to understand how to make a left justified button text :-)
3) and 4) are still under investigation :-) but now not are so important now :-)
But now I have a different problem.
The scrollframe seems to loose the first (or the last) position.
I'll explain better with a picture.
The same iussue happens for the last item. Is it intended that the slider works in this way (it seems to me inverse) ??
Thanks very much for attention to everyone.
EDIT: I attach also a picture and the code of the (almost) finished addon.