Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

About thumb view

More
IP: 192.168.0.71 8 years 8 months ago #12661 by manwon
Replied by manwon on topic About thumb view
I want the scrollview content the start point at the left hand side. Where can I set the position?
More
IP: 192.168.0.71 8 years 8 months ago #12662 by stronglee
Replied by stronglee on topic About thumb view
PDFThumb.m
line 61
-(void)vGoto:(int)pageno
{
int dx;
int dy;
[m_view vGetDeltaToCenterPage:pageno :&dx :&dy];
[m_view vSetSel:pageno];
[self scrollRectToVisible:CGRectMake(self.contentOffset.x + dx/m_scale, self.contentOffset.y + dy/m_scale, m_w/m_scale, m_h/m_scale) animated:true];
}

do not set DeltaCenterPage ,i think this is will fix the issue you said,or you can modify this func
More
IP: 192.168.0.71 8 years 8 months ago #12665 by manwon
Replied by manwon on topic About thumb view
i change the contentOffSet to change the start position. If I scroll to right, the start point will return to center.
More
IP: 192.168.0.71 8 years 7 months ago #12668 by stronglee
Replied by stronglee on topic About thumb view
Hi,
If you want set scrollView thumbview left,
in PFDV.m line.1084, -(void)vLayout method
e.g set left = 0; will render thumbview at left of screen.
Time to create page: 0.356 seconds
Powered by Kunena Forum