Re: Scrolling on iPad

2012-11-08 Thread Joshua Godi
I am seeing this issue as well, would like to know a solution if there is 
one.

On Friday, November 2, 2012 2:14:49 AM UTC-5, Mike Dee wrote:

 I have an app with a DataGrid on it and a vertical Scrollbar.  Works as 
 expected - when more data is available then fits within grid, vertical 
 scrollbar allows user to scroll down.  On iPad, however, the scrollbar is 
 not visible.  Strangely, scrolling still works.  It's just that the 
 scrollbar doesn't appear and thus most users won't know that they can 
 scroll.  How can I make the scrollbar appear?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/9JDC2JTB2lYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Scrolling on iPad

2012-11-02 Thread Mike Dee
I have an app with a DataGrid on it and a vertical Scrollbar.  Works as 
expected - when more data is available then fits within grid, vertical 
scrollbar allows user to scroll down.  On iPad, however, the scrollbar is 
not visible.  Strangely, scrolling still works.  It's just that the 
scrollbar doesn't appear and thus most users won't know that they can 
scroll.  How can I make the scrollbar appear?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/VSD5crADEyAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: scrolling in iPad

2011-08-11 Thread macagain
Thanks everyone who pointed out that it works in 2.3!  I was not aware of 
that or I'd have moved...

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/TI046TVRFBsJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: scrolling in iPad

2011-08-08 Thread CSchulz
I'm in a similar boat. I found a scroll view that works but it's choppy and 
doesn't display the faded scroll bars on the right side. If you find 
anything let me know.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/2xW83plocSsJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: scrolling in iPad

2011-08-07 Thread Gal Dolber
ScrollPanel do work. What version of gwt are you using?

On Sat, Aug 6, 2011 at 10:17 PM, macagain rgk...@gmail.com wrote:

 What's the best or right way to do gwt apps that scroll properly on the
 iPad?  I.e. apps that are bigger than the browser window.  Scrollpanel does
 seem to work either.

 I've tried some of the touch scroll panel widgets floating around, but they
 don't show the scroll bars, which of course confuses users.

 i've seen the gwt wiki on gwt/iphone, but that dates from 1.4 and the
 original iphone.  Anyone know of a better guide?

 Anyone done a gwt app for ipad?  would love to hear your experiences.

 -r

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/-G-2M1M15fgJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Aw: scrolling in iPad

2011-08-07 Thread Jens
iOS 5 will support a new CSS property called -webkit-overflow-scrolling. 
When setting the value touch and using it together with overflow:scroll 
you get native iOS scrolling on elements. This will be the best solution for 
iOS 5. For older iOS versions you can use ScrollPanel which supports touch 
scrolling since GWT 2.3 I think. Its not as nice as native scrolling but its 
better than nothing. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/98zLmERo0KkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: scrolling in iPad

2011-08-07 Thread redjhawk
To let a user do scrolling, you have to use a scrollpanel with any
widget with a size bigger than the parent scrollpanel.

I use a 'personalized' ScrollPanel with touch support
(TouchScrollPanel, at the end of this mail). That panel must fit the
mobile screen. Then, inside that panel, you have to insert any widget,
with the size desired. If that widget is bigger than the scrollPanel,
then you will be able to scroll.

GWT 2.3 already let the user to do vertical and horizontal scroll with
touch and mouse events. With GWT 2.2, you will have to do horizontal
scroll manually with touch events (detect onTouchStart,onTouchMove and
onTouchEnd):

void onTouchStart(TouchStartEvent event) {
startPoint =  event.getChangedTouches().get(0).getClientX();
startScroll=scrollPanel.getHorizontalScrollPosition();
}

void onTouchMove(TouchMoveEvent event) {
int change = (startPoint-
event.getChangedTouches().get(0).getClientX());
scrollPanel.setHorizontalScrollPosition(startScroll+change);
event.preventDefault();
}

void onTouchEnd(TouchEndEvent event) {
startPoint=0;
startScroll = 0;
  }


public class TouchableScrollPanel extends ScrollPanel implements
HasAllTouchHandlers {
@Override
public HandlerRegistration addTouchStartHandler(TouchStartHandler
handler) {
return addDomHandler(handler, TouchStartEvent.getType());
}
@Override
public HandlerRegistration addTouchMoveHandler(TouchMoveHandler
handler) {
return addDomHandler(handler, TouchMoveEvent.getType());
}
@Override
public HandlerRegistration addTouchEndHandler(TouchEndHandler
handler) {
return addDomHandler(handler, TouchEndEvent.getType());
}
@Override
public HandlerRegistration addTouchCancelHandler(TouchCancelHandler
handler) {
return addDomHandler(handler, TouchCancelEvent.getType());
}
}

On Aug 7, 1:17 am, macagain rgk...@gmail.com wrote:
 What's the best or right way to do gwt apps that scroll properly on the
 iPad?  I.e. apps that are bigger than the browser window.  Scrollpanel does
 seem to work either.

 I've tried some of the touch scroll panel widgets floating around, but they
 don't show the scroll bars, which of course confuses users.

 i've seen the gwt wiki on gwt/iphone, but that dates from 1.4 and the
 original iphone.  Anyone know of a better guide?

 Anyone done a gwt app for ipad?  would love to hear your experiences.

 -r

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



scrolling in iPad

2011-08-06 Thread macagain
What's the best or right way to do gwt apps that scroll properly on the 
iPad?  I.e. apps that are bigger than the browser window.  Scrollpanel does 
seem to work either.

I've tried some of the touch scroll panel widgets floating around, but they 
don't show the scroll bars, which of course confuses users.

i've seen the gwt wiki on gwt/iphone, but that dates from 1.4 and the 
original iphone.  Anyone know of a better guide?

Anyone done a gwt app for ipad?  would love to hear your experiences.

-r

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/-G-2M1M15fgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.