Help on ScrollFrame with LUA
View Single Post
02-14-13, 05:41 PM
A Chromatic Dragonspawn
Join Date: Dec 2009
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:
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.
(5.7 KB, 242 views)
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
View Public Profile
Send a private message to gmarco
Find More Posts by gmarco