So, I am back after (?) months and have restarted work on my Achievement Showcase Dialog and it involves a scroll bar that scales depending on the number of achievements inside the dialog.
Unfortunately Blizzard didn't give us a scroll bar that we could just slap on so I created my own. It has boundaries, and works pretty well except for the fact that when I scroll to the bottom there is a big gap between the bottom of the dialog and the last achievement.
Here is some handy dandy data:
-Scroll Bar Length when it takes up the entire box area is 775.
-The dialog with achievements has a height of 800.
-The achievement height is 130.
Not so useful data:
-The Scroll Bar Box is offset by 10
-The Scroll Bar is offset by 13 from the Scroll Bar Box.
Where to find the stuff to edit:
-In the folder called Scroll Bar, there are two triggers of use to you:
—Update Scroll Bar Length. Pretty self-explanatory. I want this to update the scroll bar length relative to however big the list of achievements is. It is constantly updating because later on the achievement will be able to expand.
—Scroll Bar Move. In this, it moves down the scroll bar by 1 for every Scroll Bar Length/775.
Thanks it advance!
P.S. Moderators, the password reset doesn't work on sc2mapster, I had to go to Curse to actually reset it.
P.P.S. If possible, could someone tell me what file is used for the expand buttons on the Blizzard achievements?
So I was just fiddling around with it and I noticed that scrolling down and back up and make the offset of your first achievement slightly different. I also changed the 775 in Scroll Bar Move where it is (-1/(Scroll Bar Length/775)) to 735 and it seemed to close that gap. I can't tell you why because I don't really understand your code enough.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So, I am back after (?) months and have restarted work on my Achievement Showcase Dialog and it involves a scroll bar that scales depending on the number of achievements inside the dialog.
Unfortunately Blizzard didn't give us a scroll bar that we could just slap on so I created my own. It has boundaries, and works pretty well except for the fact that when I scroll to the bottom there is a big gap between the bottom of the dialog and the last achievement.
Here is some handy dandy data:
-Scroll Bar Length when it takes up the entire box area is 775.
-The dialog with achievements has a height of 800.
-The achievement height is 130.
Not so useful data:
-The Scroll Bar Box is offset by 10
-The Scroll Bar is offset by 13 from the Scroll Bar Box.
Where to find the stuff to edit:
-In the folder called Scroll Bar, there are two triggers of use to you: —Update Scroll Bar Length. Pretty self-explanatory. I want this to update the scroll bar length relative to however big the list of achievements is. It is constantly updating because later on the achievement will be able to expand.
—Scroll Bar Move. In this, it moves down the scroll bar by 1 for every Scroll Bar Length/775.
Thanks it advance!
P.S. Moderators, the password reset doesn't work on sc2mapster, I had to go to Curse to actually reset it.
P.P.S. If possible, could someone tell me what file is used for the expand buttons on the Blizzard achievements?
So I was just fiddling around with it and I noticed that scrolling down and back up and make the offset of your first achievement slightly different. I also changed the 775 in Scroll Bar Move where it is (-1/(Scroll Bar Length/775)) to 735 and it seemed to close that gap. I can't tell you why because I don't really understand your code enough.