Go to Page... |
Updated: | 12-04-16 12:41 PM |
Created: | 10-18-11 07:21 PM |
Downloads: | 12,264 |
Favorites: | 11 |
MD5: |
File Name |
Version |
Size |
Author |
Date |
1.14.4 |
57kB |
doxxx |
11-25-15 05:14 PM |
|
1.14.3 |
55kB |
doxxx |
05-23-15 07:22 AM |
|
1.14.2 |
57kB |
doxxx |
03-02-14 10:15 AM |
|
1.14.1 |
57kB |
doxxx |
04-28-13 11:44 AM |
|
1.14 |
57kB |
doxxx |
04-27-13 07:12 PM |
|
1.13.4 |
55kB |
doxxx |
03-10-13 04:30 PM |
|
1.13.3 |
55kB |
doxxx |
02-28-13 05:47 PM |
|
1.13.2 |
55kB |
doxxx |
02-12-13 06:39 PM |
|
1.13.1 |
55kB |
doxxx |
01-15-13 06:03 PM |
|
1.13 |
55kB |
doxxx |
01-12-13 12:04 AM |
|
1.12 |
50kB |
doxxx |
12-22-12 10:53 AM |
|
1.11.1 |
50kB |
doxxx |
12-18-12 06:07 PM |
|
1.11 |
50kB |
doxxx |
12-09-12 07:54 PM |
|
1.10 |
36kB |
doxxx |
05-03-12 06:42 PM |
|
1.9.5 |
29kB |
doxxx |
04-25-12 07:49 PM |
|
1.9.4 |
24kB |
doxxx |
04-21-12 08:43 AM |
|
1.9.3 |
23kB |
doxxx |
03-08-12 07:01 PM |
|
1.9.2 |
23kB |
doxxx |
03-07-12 07:17 PM |
|
1.9.1 |
23kB |
doxxx |
03-06-12 07:12 PM |
|
1.9.0 |
22kB |
doxxx |
03-04-12 09:44 AM |
|
1.8.3 |
22kB |
doxxx |
02-25-12 12:32 PM |
|
1.8.2 |
22kB |
doxxx |
01-29-12 01:17 PM |
|
1.8.1 |
22kB |
doxxx |
12-14-11 07:44 PM |
|
1.8 |
22kB |
doxxx |
12-11-11 01:30 PM |
|
1.7 |
17kB |
doxxx |
12-08-11 09:27 PM |
|
1.6.1 |
15kB |
doxxx |
12-06-11 05:32 PM |
|
1.6 |
15kB |
doxxx |
12-01-11 09:55 PM |
|
1.5.4 |
14kB |
doxxx |
11-30-11 07:04 PM |
|
1.5.3 |
14kB |
doxxx |
11-30-11 05:55 PM |
|
1.5.2 |
15kB |
doxxx |
11-19-11 05:51 PM |
|
1.5.1 |
20kB |
doxxx |
11-16-11 10:51 PM |
|
1.5 |
20kB |
doxxx |
11-11-11 04:57 PM |
|
1.4 |
19kB |
doxxx |
11-07-11 07:45 PM |
|
1.3.1 |
18kB |
doxxx |
11-05-11 08:13 AM |
|
1.3 |
18kB |
doxxx |
11-04-11 07:06 PM |
|
1.2 |
15kB |
doxxx |
10-25-11 06:10 PM |
|
1.1 |
6kB |
doxxx |
10-22-11 12:34 PM |
|
1.0 |
5kB |
doxxx |
10-18-11 07:21 PM |
Comment Options |
RagebeastRT |
View Public Profile |
Send a private message to RagebeastRT |
Find More Posts by RagebeastRT |
Add RagebeastRT to Your Buddy List |
11-10-11, 10:22 AM | |
|
Error
On the current pts build, I am recieving the error:
Error: Y Axis: An axis cannot have more then two unique set points. In RunecraftHelper / core.lua stack traceback: [C] in funtion 'SetPoint' LibSimpleWidgets/slider.lua:83: in function 'CreateFrame' RunecraftHelper/core.lua:14: In main chunk Code from my addon at line 14: local windowFontSlider = UI.CreateFrame("SimpleSlider", "Font", windowOptions) |
|
RagebeastRT |
View Public Profile |
Send a private message to RagebeastRT |
Find More Posts by RagebeastRT |
Add RagebeastRT to Your Buddy List |
11-10-11, 11:30 AM | ||
|
Re: Error
Quote:
|
|
|
doxxx |
View Public Profile |
Send a private message to doxxx |
Find More Posts by doxxx |
Add doxxx to Your Buddy List |
11-11-11, 05:07 PM | |
|
I've just uploaded version 1.5, which fixes that anchoring error with SimpleSlider and few other bugs, and adds font size support to SimpleCheckbox, SimpleList, SimpleSelect and SimpleTooltip.
|
|
doxxx |
View Public Profile |
Send a private message to doxxx |
Find More Posts by doxxx |
Add doxxx to Your Buddy List |
11-11-11, 07:29 PM | ||
|
Quote:
|
|
|
RagebeastRT |
View Public Profile |
Send a private message to RagebeastRT |
Find More Posts by RagebeastRT |
Add RagebeastRT to Your Buddy List |
11-13-11, 04:08 AM | |
Forum posts: 0
File comments: 5
Uploads: 0
|
Thanks for the great add-on. I am hoping to get my new add-on ready for 1.6 but I am also having problems that RageBeastRT saw. Hope you get time to look at this quickly
|
|
Daviana |
View Public Profile |
Send a private message to Daviana |
Find More Posts by Daviana |
Add Daviana to Your Buddy List |
11-14-11, 05:54 PM | ||
|
Quote:
|
|
|
doxxx |
View Public Profile |
Send a private message to doxxx |
Find More Posts by doxxx |
Add doxxx to Your Buddy List |
11-15-11, 12:39 AM | |||
|
Quote:
|
||
|
RagebeastRT |
View Public Profile |
Send a private message to RagebeastRT |
Find More Posts by RagebeastRT |
Add RagebeastRT to Your Buddy List |
11-15-11, 04:26 AM | ||||
Forum posts: 0
File comments: 4
Uploads: 0
|
Quote:
Quote:
Ideally you would want to clear the old points+width in every call of PositionContent, but I don't know what's the overhead of these Clear... calls. If the user is setting different points after calling SetContent then the error will be thrown in his code anyway, so I wouldn't worry much about making it too robust at the expense of performance. If I were you I would go with a simple fix in SetContent. Something like this in SetContent should solve the problem: Code:
local height = content:GetHeight() content:ClearAll() content:SetHeight(height) Code:
local function PositionScrollbar(self) local scrollbarOffset = self.offset / self.content:GetHeight() * self:GetHeight() if scrollbarOffset ~= scrollbarOffset then -- nan check scrollbarOffset = 0 end self.scrollbar:SetPoint("TOPRIGHT", self, "TOPRIGHT", 0, scrollbarOffset) end
Last edited by Matrix : 11-15-11 at 04:30 AM.
|
|||
|
Matrix |
View Public Profile |
Send a private message to Matrix |
Find More Posts by Matrix |
Add Matrix to Your Buddy List |
11-15-11, 05:40 PM | |
Forum posts: 0
File comments: 5
Uploads: 0
|
Perhaps this error is the same one as that which Matrix found?
I get this error from my add-on: 23:34:29: [Slacker Tracker] Error: Y axis: Positions and offsets must be valid numbers. 23:34:29: [Slacker Tracker] In SlackerTracker / SlackerTracker.listBox:Size 23:34:29: [Slacker Tracker] stack traceback: 23:34:29: [Slacker Tracker] [C]: in function 'SetPoint' 23:34:29: [Slacker Tracker] LibSimpleWidgets/scrollview.lua:44: in function 'PositionScrollbar' 23:34:29: [Slacker Tracker] LibSimpleWidgets/scrollview.lua:16: in function 'ContentResized' 23:34:29: [Slacker Tracker] LibSimpleWidgets/scrollview.lua:90: in function <LibSimpleWidgets/scrollview.lua:89> 23:34:29: [Slacker Tracker] [C]: in function 'SetPoint' 23:34:29: [Slacker Tracker] LibSimpleWidgets/scrollview.lua:39: in function 'PositionContent' 23:34:29: [Slacker Tracker] LibSimpleWidgets/scrollview.lua:15: in function 'ContentResized' 23:34:29: [Slacker Tracker] LibSimpleWidgets/scrollview.lua:124: in function 'SetContent' 23:34:29: [Slacker Tracker] SlackerTracker/SlackerTrackerConfig.lua:166: in function 'CreateListPanel' 23:34:29: [Slacker Tracker] SlackerTracker/SlackerTrackerConfig.lua:40: in function 'Create' 23:34:29: [Slacker Tracker] SlackerTracker/SlackerTracker.lua:272: in function 'CreateConfigUI' 23:34:29: [Slacker Tracker] SlackerTracker/SlackerTracker.lua:830: in function <SlackerTracker/SlackerTracker.lua:826> Line 166 is the last line of the following code: local margin = 30 local minimumWarningTime = 0 local maximumWarningTime = 120 local pnl = UI.CreateFrame("Texture", "Solid", rightPanel) pnl:SetPoint("TOPLEFT", rightPanel, "TOPLEFT") pnl:SetPoint("BOTTOMRIGHT", rightPanel, "BOTTOMRIGHT") pnl:SetTexture("SlackerTracker", "Resources/RightConfigFrame.png") pnl:SetVisible(false) pnl.listScrollView = UI.CreateFrame("SimpleScrollView", "listScrollView", pnl) pnl.listScrollView:SetPoint("TOPLEFT", pnl, "TOPLEFT", margin, margin) pnl.listScrollView:SetWidth(pnl:GetWidth() - 2 * margin) pnl.listScrollView:SetHeight(300) pnl.listScrollView:SetBorder(1, 1, 1, 1, 1) pnl.listBox = UI.CreateFrame("SimpleList", "listBox", pnl.listScrollView) pnl.listBox:SetItems(list) pnl.listScrollView:SetContent(pnl.listBox) |
|
Daviana |
View Public Profile |
Send a private message to Daviana |
Find More Posts by Daviana |
Add Daviana to Your Buddy List |
11-15-11, 08:28 PM | ||
Forum posts: 0
File comments: 4
Uploads: 0
|
Quote:
|
|
|
Matrix |
View Public Profile |
Send a private message to Matrix |
Find More Posts by Matrix |
Add Matrix to Your Buddy List |
11-16-11, 10:54 PM | |
|
Thanks Matrix, I've just uploaded v1.5.1 which fixes both of those errors.
|
|
doxxx |
View Public Profile |
Send a private message to doxxx |
Find More Posts by doxxx |
Add doxxx to Your Buddy List |
11-17-11, 02:58 AM | |
Forum posts: 0
File comments: 5
Uploads: 0
|
Thanks, latest patch fixes my errors
|
|
Daviana |
View Public Profile |
Send a private message to Daviana |
Find More Posts by Daviana |
Add Daviana to Your Buddy List |
11-19-11, 05:52 PM | |
|
I've uploaded v1.5.2 which makes use of the new 'close' skin in RiftButton for the close button on SimpleWindow and the new RiftScrollbar in SimpleScrollView.
|
|
doxxx |
View Public Profile |
Send a private message to doxxx |
Find More Posts by doxxx |
Add doxxx to Your Buddy List |
11-21-11, 05:43 AM | |
|
I've just started using this library in an addon I am writing, and I am loving it so far!
Is it possible to pass in rendering information in the items list for the SimpleList widget? I want to display (as a list, inside a scroll window) CATEGORY1 Item1 Item2 SUBCATEGORY1 Item1 Item2 SUBCATEGORY2 Item1 Item2 CATEGORY2 SUBCATEGORY1 Item1 Item2 etc. I would like to be able to mark the category and subcategory values somehow (textcolor/background maybe), and have these non-selectible. |
|
adelea |
View Public Profile |
Send a private message to adelea |
Send email to adelea |
Find More Posts by adelea |
Add adelea to Your Buddy List |