> And thank you for your hard work ;)
No problem, IcticStep.
I think it's flush now, and this time I added comments in cyan to show what and where i edited.
Oh... Almost, bet there is a big problem. Sorry for disturbing you again but it doesn`t works perefect. Now, it doesn`t go to the 1080px. I also tried a lot of times to guess numbers to move scrollbar but if you fix it in one layout - it wouldn`t work in other layouts because of different layout height. I have started this topic to invent in cooperation an ideal formula to make a finished solution for a scrolling bar which would work with any layout size, so show must go on. I am trying to make something for a third day but I have fail after fail. I am using all my logic, but all my developing in the end reaches the same formula and it doesn`t works at all, but it should. Maybe it`s bug in C3? But I am not sure... That`s why I am here.
I have made some calculations about it, maybe it`s confused but it can help. So this is just pieces of formulas and my logic:
English translation of the mess above:
Final formula seems to be something like these:
scrollarProgress = scrollingProgress
We can`t just use this, so we need to deal with Y of scrollbar:
scrollbarY = scrollingProgress*(maxScrollbarPos-minScrollbarPos)+minScrollbarPos
It may seems to be a non-logical from the fierst view because I am substructing and then adding minScrollbarPos, but here is the explanation: I am doing it to get a value that is between minScrollbarPos to maxScrollbarPos and equal an x%, where x = scrollingProgress.
I am becoming crazy. How that`s possible? Where is my mistake?
ReallyBasic, Semoreh let`s find out what to do, Shall we?
P.S.: And about 72... It should be a kind of proportion because it should be changed if we have another layout size... I am totaly confused...