Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » scrolling on iPad in browser-object
scrolling on iPad in browser-object [message #1023500] Sun, 24 March 2013 11:40 Go to next message
Andrej Dimic is currently offline Andrej DimicFriend
Messages: 73
Registered: July 2009
Member
Hi

we have a RAP application that shows PDF-documents in a browser window (see code snippet below)

browser = new Browser(content, SWT.NONE);
browser.setUrl(iniFileHandler.getEntry("pdfPath")+fileName);
browser.setLayout(new FillLayout());

unforunatly, on iPad devices there is no scroll bar shown an therefor it is not possible to view the whole PDF-document.

Anybody has an idea how to overcome this?

we are on RAP 2.0

Thanks
Andrej
Re: scrolling on iPad in browser-object [message #1023843 is a reply to message #1023500] Mon, 25 March 2013 09:35 Go to previous message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 387
Registered: July 2009
Senior Member
Hi.

This is a known iOS bug.
See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=323803

I would suggest to open the PDF in another window using the URL-Launcher
service.

Greetings,
Tim Buschtöns

Am 24.03.2013 12:40, schrieb adiinfo Mising name:
> Hi
>
> we have a RAP application that shows PDF-documents in a browser window
> (see code snippet below)
>
> browser = new Browser(content, SWT.NONE);
> browser.setUrl(iniFileHandler.getEntry("pdfPath")+fileName);
> browser.setLayout(new FillLayout());
>
> unforunatly, on iPad devices there is no scroll bar shown an therefor it
> is not possible to view the whole PDF-document.
>
> Anybody has an idea how to overcome this?
>
> we are on RAP 2.0
>
> Thanks
> Andrej
>

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Weird situation - Icons disappearing
Next Topic:Resize Listener on Display
Goto Forum:
  


Current Time: Sat Nov 29 05:39:05 GMT 2014

Powered by FUDForum. Page generated in 0.10894 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software