View Single Post
02-14-13, 05:41 PM   #23
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
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:
  1. scrollFrame:EnableMouse(true)
  2. 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.

Attached Files
File Type: zip Remgank-v2013021501.zip (5.7 KB, 509 views)
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote