Re: SimpleLayoutPanel inside a ScrollPanel or a VerticalPanel does not work

2017-05-27 Thread Piotr Morgwai Kotarbinski
ort:com.google.gwt.user.client.ui"> >> >> AAA >> BBB >> >> >> >> ...because of very similar reasons: the 2 inner-most div elements around >> both "AAA" and "BBB" will have "position: absolute;&qu

Re: SimpleLayoutPanel inside a ScrollPanel or a VerticalPanel does not work

2017-05-27 Thread Thomas Broyer
ery similar reasons: the 2 inner-most div elements around > both "AAA" and "BBB" will have "position: absolute;" in their style. Again, > replacing it manually for "position: relative;" makes it render ok and > replacing the SimpleLayoutPan

SimpleLayoutPanel inside a ScrollPanel or a VerticalPanel does not work

2017-05-26 Thread Piotr Morgwai Kotarbinski
youtPanel with a SimplePanel makes it all work ok. Is it a bug or am I missing something? If it's expected then what Panel should I use instead of a SimpleLayoutPanel as a placeholder inside a ScrollPanel or a VerticalPanel when using layout Panels in general? (a SimplePanel works, but it

Re: How to detect the scrollpanel is still scrolling or not in GWT?

2016-07-22 Thread Jens
> Is there any way to implement scroll bar with mouse listeners? Bottom > line, I want to send the request while doing scrolling. I meant last > scrolling height to server if scrolling is delayed for 100 ms or stopped. > Just do what Thomas has suggested. Listen for ScrollEvent and do void on

Re: How to detect the scrollpanel is still scrolling or not in GWT?

2016-07-22 Thread shiva raaj
Is there any way to implement scroll bar with mouse listeners? Bottom line, I want to send the request while doing scrolling. I meant last scrolling height to server if scrolling is delayed for 100 ms or stopped. On Friday, 22 July 2016 12:12:57 UTC+5:30, DavidN wrote: > > maybe you could liste

Re: How to detect the scrollpanel is still scrolling or not in GWT?

2016-07-22 Thread Thomas Broyer
I think the generally adopted pattern is to schedule a task 100 or 250ms away, and reschedule it on each scroll event (use a c.g.g.user.client.Timer to be able to reschedule it). Ideally, you'd also use a "passive event listener", but GWT doesn't expose it: https://blog.chromium.org/2016/05/new-

Re: How to detect the scrollpanel is still scrolling or not in GWT?

2016-07-21 Thread David
maybe you could listen to mousedown/up in combination with scrollevents ? On Fri, 22 Jul 2016 at 08:27, shiva raaj wrote: > Thanks for response. But I need consider last request only. Basically I > need to skip(eaten) all the previous request. I have logic to eat the > request.But Is there any wa

Re: How to detect the scrollpanel is still scrolling or not in GWT?

2016-07-21 Thread shiva raaj
Thanks for response. But I need consider last request only. Basically I need to skip(eaten) all the previous request. I have logic to eat the request.But Is there any way to find out scroll bar is still scrolling without release the bar. Thank U On Thursday, 21 July 2016 18:18:25 UTC+5:30, Gil

Re: How to detect the scrollpanel is still scrolling or not in GWT?

2016-07-21 Thread Gilberto
I don't know if that helps with your problem, but you could leave the events as they are today and only make new requests to the server when the previous one were executed. Something like this: private boolean requestingServer = false; public void onScroll(ScrollEvent scrollEvent) { if (re

How to detect the scrollpanel is still scrolling or not in GWT?

2016-07-21 Thread shiva raaj
Hi Team, I need checkpoint to detect the scrollpanel is still scrolling or not. I am sending the server request while scrolling the scroll bar with the delay of 100 milliseconds. I meant, every 100 milliseconds i am sending the request to server while scrolling. This is fine when i do

DialogBox sized inside out with scrollpanel trick/tip/workaround

2014-09-12 Thread Vassilis Virvilis
Hi, First of all I am aware of https://code.google.com/p/google-web-toolkit/issues/detail?id=889 I think I have a different problem and I would like to ask if this is expected behavior. I have the following layout DialogBox/ScrollPanel/CellTable I want the DialogBox to be size inside-out

splitlayoutpanel with celltable wrapped in scrollpanel

2014-07-23 Thread Moritz
Hello, I have a splitlayoutpanel with a simple list added to west and the center contains a dynamic number of celltabels in a vertical panel (the celltable is wrapped in a scrollpanel because it might have over 20 columns) My current solution: Splitlayoutpanel in its center a simple

Scrollpanel doesn't scroll automatically when dragging an item over the "borderzone"

2014-07-07 Thread Tom
Hi! I have a scrollpanel with two trees in it. The right tree contains items which should be draggable to the left tree. If both trees contain less items than the scrollpanel shows everything works fine. The problem occurs if one tree is larger than the scrollpanel. I think the behavior should

Re: How to change this design so that when the ScrollBar of a ScrollPanel got scrolled it will always show the 3rd panel in GWT?

2014-06-09 Thread Tom
Thax you for ur hint, so I won't ensureVisible(panel3) Instead, I put panel3 outside ScrollPanel,now the panel3 stand independently from scrollpanel On Tuesday, June 10, 2014 2:33:24 AM UTC+10, Jens wrote: > > You don't want to call ensureVisible() inside an onScroll callback

Re: How to change this design so that when the ScrollBar of a ScrollPanel got scrolled it will always show the 3rd panel in GWT?

2014-06-09 Thread Jens
You don't want to call ensureVisible() inside an onScroll callback...that looks pretty weird. What concrete use case to you want to solve? Maybe CSS position:fixed is what you want? -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

How to change this design so that when the ScrollBar of a ScrollPanel got scrolled it will always show the 3rd panel in GWT?

2014-06-09 Thread Tom
Ok, here is my current design, I have 3 panels inside a Grid & the Grid is inside a ScrollPanel. I want that when the ScrollBar of the ScrollPanel got scrolled it will always show the 3rd panel. Grid myGrid=new Grid(1,3); myGrid.getCellFormatter().setVerticalAlignment(

Re: Why scrollPanel.ensureVisible does not work if The scrollPanel is the parent panel of many other inside panels (GWT)?

2014-03-25 Thread Tom
i also tried Scheduler.get().scheduleDeferred(new Command() { @Override public void execute() { getView().getProductScrollPanel().scrollToBottom(); } }); But it doesn't work either. On Wednesday, March 26, 2014 4:23:11 AM UTC+11, Jens wrote: > > Then in Presenter >> >

Re: Why scrollPanel.ensureVisible does not work if The scrollPanel is the parent panel of many other inside panels (GWT)?

2014-03-25 Thread Tom
yeah, but it doesn't work On Wednesday, March 26, 2014 4:23:11 AM UTC+11, Jens wrote: > > Then in Presenter >> >> getView().getProductScrollPanel().ensureVisible(getView().getShowMeLabel()); >> // this doesn't work >> >> > When do you call that line? Maybe the browser has not yet rendered your >

Re: Why scrollPanel.ensureVisible does not work if The scrollPanel is the parent panel of many other inside panels (GWT)?

2014-03-25 Thread Jens
> > Then in Presenter > > getView().getProductScrollPanel().ensureVisible(getView().getShowMeLabel()); > // this doesn't work > > When do you call that line? Maybe the browser has not yet rendered your UI. You could try: Scheduler.get().scheduleDeferred(new Command() { void execute() { ge

Why scrollPanel.ensureVisible does not work if The scrollPanel is the parent panel of many other inside panels (GWT)?

2014-03-25 Thread Tom
Ok, I got a ScrollPanel in UiBinder & it is the parent panel of many other inside panels. Ui.xml Select Word? ... lot of Label here. .. The

Default ScrollPanel disables iOS pinch zooming, how to disable touch support by default?

2014-03-25 Thread Phineas Gage
The default ScrollPanel in GWT includes touch support, but this disables pinch zooming on iOS devices. The issue is reported for MGWT here: https://code.google.com/p/mgwt/issues/detail?id=200 You can work around this by disabling touch support on your ScrollPanel, so I've done this

Re: ScrollPanel maxWidth or maxHeight?

2014-03-20 Thread Denny Kluge
I don't know if it still relevant, but I had the same problem and I found a solution. I have small popup (my Class extends DialogBox). Inside the popup, I have a VerticalPanel. Inside this panel is a ScrollPanel and a HorizontalPanel for some buttons. Inside the ScrollPanel is a Flex

Re: GWT ScrollPanel not scrolling when hidden

2014-03-11 Thread Federico De Faveri
> scrollPanel.scrollToBottom();* > * }* > * });* > scrollPanel.setVisible(true); > } > })); > > > > On Tuesday, March 11, 2014

Re: GWT ScrollPanel not scrolling when hidden

2014-03-11 Thread Winston Britto
On Tuesday, March 11, 2014 4:37:50 PM UTC+5:30, Federico De Faveri wrote: > > I have a ScrollPanel and I want to reset his scrolling position when it is > hidden. > To do so I call the scrollTop method. As I can see it is not working only > when the ScrollPanel is hidde

Re: GWT ScrollPanel not scrolling when hidden

2014-03-11 Thread Winston Britto
ublic void execute() {* * scrollPanel.scrollToBottom();* * }* * });* scrollPanel.setVisible(true); } })); On Tue, Mar 11, 2014 at 4:37 PM, Federico De Faveri wrote: > I have a ScrollPanel and I want to reset his scrolling position when it is > hidden. > To do so I call the scrollTop meth

GWT ScrollPanel not scrolling when hidden

2014-03-11 Thread Federico De Faveri
I have a ScrollPanel and I want to reset his scrolling position when it is hidden. To do so I call the scrollTop method. As I can see it is not working only when the ScrollPanel is hidden. Here a sample code: public void onModuleLoad() { StringBuilder html = new StringBuilder(); for

Re: mgwt Scrollpanel doesn't scroll with Android-Phonegap

2014-02-06 Thread Stefan Strobl
; gwtphonegap:2.4.0.0 > and > phonegap 2.4.0 > > In the Webbrowser of the device the scrollpanel works fine, but in the > webview from phonegap there is no scrolling. > I haven't found something to this issue in the internet. There are some > ideas to fix it? > >

mgwt Scrollpanel doesn't scroll with Android-Phonegap

2014-02-06 Thread Stefan Strobl
Hello, I tried to deploy my mgwt-App with Phonegap on Android. My configuration is: gwt 2.5.0 mgwt 1.1.2 gwtphonegap:2.4.0.0 and phonegap 2.4.0 In the Webbrowser of the device the scrollpanel works fine, but in the webview from phonegap there is no scrolling. I haven't found somethi

Horizontal Scroll with MouseWheel in GWT ScrollPanel?

2014-01-22 Thread confile
I have a GWT ScrollPanel with a horizontal scrollbar, i.e. overflow-y: scroll; *How can I bind a MouseWheel event on the scroll bar to perform a horizontal scrolling when the mouse wheel is moved?* -- You received this message because you are subscribed to the Google Groups "Googl

Re: GWT Scrollpanel (Scrolling)is not woking in Chrome but works in Firefox and IE

2013-05-10 Thread Sashi Kumar
Hi Jen, Thanks for Ur Reply. :) I should not change the GWT Version. It may affect other Functionalities of the Project. I am using GWT Version 2.2.0. That 'Text ' which i am not able to Scroll is a HTML File. I think i need to look on the CSS style or setfocus() on that HTML file. Still

Re: GWT Scrollpanel (Scrolling)is not woking in Chrome but works in Firefox and IE

2013-05-09 Thread Jens
Sounds similar to https://code.google.com/p/google-web-toolkit/issues/detail?id=6704 where you could not scroll inside a Dialog on iOS devices because PopupPanel had canceled events when targeting a text node instead of an element node. Do you use GWT 2.5 / 2.5.1? If not, try to upgrade. -- J.

GWT Scrollpanel (Scrolling)is not woking in Chrome but works in Firefox and IE

2013-05-09 Thread Sashi Kumar
Hi, If i scroll on the text inside the Scroll panel, it is not working in Chrome. But Right hand side, there are some spaces, if i scroll on this place, It scrolls in Chrome also. The problem is Why the Scrolling is not working on the Text? If anyone can Help means, Highly appriciated.

Re: Why doesn't this (AbsolutePanel inside a ScrollPanel) work?

2013-03-04 Thread Mike Dee
That got me thinking. I can't really get rid of tbe ScrollPanel because a number of other panels other substituted into it. But adjusting the overflow on the ScrollPanel seems to work. So onResize() looks like this: Style.Overflow cssover = Style.Overflow.HIDDEN;

Why doesn't this (AbsolutePanel inside a ScrollPanel) work?

2013-03-02 Thread Patrick Tucker
Try absolutePanel.getElement().getStyle().setOverflow(Overflow.AUTO) and get rid of the ScrollPanel. It by default sets overflow to hidden, but it may work. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from

Why doesn't this (AbsolutePanel inside a ScrollPanel) work?

2013-03-01 Thread Mike Dee
ontalPanel; /** * Entry point classes define onModuleLoad(). */ public class Tp implements EntryPoint { interface Binder extends UiBinder { } private static final Binder binder = GWT.create( Binder.class ); @UiField(provided=true) ScrollPanel scrollPanel = new MyScrollPanel(); @UiField Abs

Re: ScrollPanel scroll position retained across browser refresh

2013-01-02 Thread David Levy
Some further findings: I've only been able to reproduce the problem on firefox 16 running on Ubuntu.Firefox 17 on Windows works as expected. On Wed, Jan 2, 2013 at 9:45 AM, David wrote: > I have a page with several components - one being a small scrollable > widget. When I scroll down to

ScrollPanel scroll position retained across browser refresh

2013-01-02 Thread David
I have a page with several components - one being a small scrollable widget. When I scroll down to a given position and then refresh my page, the scroll position is retained. I've noticed this before and have not thought much of it as the effect has always been fairly benign. However, I now

Re: how to show horizontal scrollbar in scrollpanel automatically?

2012-12-19 Thread Andrei
Remove white-space: nowrap; and text-overflow: ellipsis rules that are applied to your scroll panel. I recommend asking such questions on SO. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit htt

Re: how to show horizontal scrollbar in scrollpanel automatically?

2012-12-18 Thread Kei Kei
No, the scrollpanel overflow property is already auto, but the horizontal scrollbar cannot be shown in ie8 or FF13 I set the css using > scrollPanel.getElement().setAttribute("style", > "width:210px;height:247px;border:1px solid #B5BBC8; overflow:auto;"); > In F

Re: how to show horizontal scrollbar in scrollpanel automatically?

2012-12-18 Thread Andrei
This is not a standard behavior. You must have a CSS style applied to your scroll panel or its content which resets overflow property. It should be overflow:auto. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion o

how to show horizontal scrollbar in scrollpanel automatically?

2012-12-18 Thread tong123123
I have a scrollpanel enclosing a tree. when the tree node expands, the scrollpanel can show the vertical scrollbar automatically. but it cannot show the horizontal scrollbar automatically, instead, only eclipse (...) is shown for overflow item. so how to show the horizontal scrollbar

ScrollPanel Question

2012-11-04 Thread Greg Laird
Hello, I have a ScrollPanel enclosing a Grid Widget. The ScrollPanel is a child of a DockLayoutPanel (West, 50%) which is a child of a RootLayoutPanel. The DockLayoutPanel is configured to take up the complete browser window and this works fine. Browser window vertical and horizontal resizes

Re: Have ScrollPanel use 100% height?

2012-08-19 Thread mark
Hi Jens, Ok I thought we had to wrap our contents in a ScrollPanel if we wanted scroll support, Thanks On Sunday, August 19, 2012 3:55:43 PM UTC-4, mark wrote: > > Hi, > > I want to make a VerticalPanel inside a ScrollPanel which takes up 100% > width and height. I can

Re: Have ScrollPanel use 100% height?

2012-08-19 Thread Jens
ScrollPanel uses two DIV elements. When you set the ScrollPanel's height to 100% only the container DIV will have the height set. The second inner DIV does not have a height and thus your ScrollPanel's content can't be 100% as its direct parent does not have a height. The ques

Have ScrollPanel use 100% height?

2012-08-19 Thread mark
Hi, I want to make a VerticalPanel inside a ScrollPanel which takes up 100% width and height. I can't get this to work: VerticalPanel vp = new VerticalPanel(); vp.setHeight("100%"); vp.add(new Label("please..."); ScrollPanel sp = new ScrollPanel(); sp.se

Re: Custom ScrollPanel

2012-08-18 Thread Deepak Singh
Any guideline or sample source code how to implement it? Will there be any default implementation of this ? Thanks Deepak On Sat, Aug 18, 2012 at 8:16 PM, Jens wrote: > Take a look at: > http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/client/ui/CustomScrollPanel.ht

Re: Custom ScrollPanel

2012-08-18 Thread Jens
Take a look at: http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/client/ui/CustomScrollPanel.html It allows you to implement your own scroll bars and provide them to the scroll panel. -- J. -- You received this message because you are subscribed to the Google Grou

Custom ScrollPanel

2012-08-18 Thread Deepak Singh
Hi All, I need a custom scroll panel / ScrollBar looking beautiful like Gmail. Can someone tell me any such component available ? Regards Deepak Singh -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to

Re: ScrollPanel inside HeaderPanel // Another option for an auto-resizable DockLayoutPanel?

2012-05-24 Thread Shaun Tarves
No, I can't get the header panel to work at all. The header block shows up, but nothing in the content area is visible. -- 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/

Re: ScrollPanel inside HeaderPanel // Another option for an auto-resizable DockLayoutPanel?

2012-05-23 Thread Ernesto Oltra
anel >> - north >> - north >> - center >> - HeaderPanel >>- header: [ Here I have a HTMLPanel, it can change, and so its >> height ] >>- content: ScrollPanel >> >> The problem is ScrollPanel extends beyond the

Re: ScrollPanel inside HeaderPanel // Another option for an auto-resizable DockLayoutPanel?

2012-05-23 Thread Shaun Tarves
- header: [ Here I have a HTMLPanel, it can change, and so its > height ] > - content: ScrollPanel > > The problem is ScrollPanel extends beyond the screen (HeaderPanel content > has overflow:hidden in its CSS) > > If it has no solution, is there any alternatives in o

RootLayoutPanel versus RootPanel with ScrollPanel

2012-05-13 Thread Mike Dee
I've been having a problem getting ScrollPanel to work as expected (or as I expect) in my app. So, I've reduced the problem to a simple case. The code below is from the example of a Custom Data Provider that Google provides in the CellWidgets Developer Guide: https://developers.goog

ScrollPanel not raising onScroll Event

2012-04-30 Thread Endovélico
I'm currently adapting the example on the showcase (it's still pretty much equal) and i can't seem to make it raise a Scroll event. Is there any known issue regarding this? info: not using uibinder. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit

Re: ScrollPanel and DisclosurePanel

2012-04-24 Thread Jens
some >>> FlowPanel plus many DisclosurePanel, I want the content inside the >>> DockLayoutPanel can scroll when many of these DisclosurePanel are expanded, >>> how to achieve this? >>> >> >> Use a ScrollPanel inside the DockLayoutPanel and put your

Re: ScrollPanel and DisclosurePanel

2012-04-24 Thread tong123123
when many of these DisclosurePanel are expanded, >> how to achieve this? >> > > Use a ScrollPanel inside the DockLayoutPanel and put your FlowPanel into > that ScrollPanel... > > >> and I found that if I set DockLayoutPanel height to 100%, the >> DockLayoutPa

Re: ScrollPanel and DisclosurePanel

2012-04-24 Thread Jens
> > I have a DockLayoutPanel, inside the DockLayoutPanel there is some > FlowPanel plus many DisclosurePanel, I want the content inside the > DockLayoutPanel can scroll when many of these DisclosurePanel are expanded, > how to achieve this? > Use a ScrollPanel inside the D

ScrollPanel and DisclosurePanel

2012-04-24 Thread tong123123
I have a DockLayoutPanel, inside the DockLayoutPanel there is some FlowPanel plus many DisclosurePanel, I want the content inside the DockLayoutPanel can scroll when many of these DisclosurePanel are expanded, how to achieve this? and I found that if I set DockLayoutPanel height to 100%, the Do

Re: ScrollPanel with a CellList Widget

2012-03-22 Thread Andrea Boscolo
See the showcase sample http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellList On Thursday, March 22, 2012 11:38:18 AM UTC+1, Saik0 wrote: > > Hi @all, > > i have a confusing issue with the ScrollPanel. Im trying to add a CellList > with n-Elements to a ScrollPanel.

ScrollPanel with a CellList Widget

2012-03-22 Thread Saik0
Hi @all, i have a confusing issue with the ScrollPanel. Im trying to add a CellList with n-Elements to a ScrollPanel. The ScrollPanel itself is add to a VerticalPanel. Now i add more Elements to the Celllist and redraw the view. Normally i except, that the ScrollPanel shows his Scrollbar if

Re: FlexTable in ScrollPanel still has no scroll bars

2012-03-11 Thread Tomokiyo
le.setText(table.getRowCount(), 0, "foo"); } })); dock.addNorth(header, 5); dock.add(new ScrollPanel(table)); RootLayoutPanel.get().add(dock); } } On Mar 9, 7:03 pm, Vitaly Trifanov wrote: > Hello. > I use DockLayoutPanel as root panel for my GWT app.

FlexTable in ScrollPanel still has no scroll bars

2012-03-09 Thread Vitaly Trifanov
Hello. I use DockLayoutPanel as root panel for my GWT app. In it's center I have a FlexTable, and I want vertical scroll bar to appear if content doesn't fit screen vertically. I put a FlexTable into a ScrollPanel, but it doesn't work. Please, help :) -- You received this mess

Re: Tips on handling ScrollPanel in UiBuilder

2012-01-05 Thread Thad
You hit on why I asked. In my last app, begun well before Layout panels, UiBuilder, etc., I use the deferred command trick you describe: I'm displaying images that are generally too large for 1:1 (like 200dpi or more) and therefore must be scaled. I give the scaled image the largest possible scree

Re: Tips on handling ScrollPanel in UiBuilder

2012-01-05 Thread Aidan O'Kelly
On Thu, Jan 5, 2012 at 2:20 PM, Thad wrote: > Here's a follow-up question: When using UiBuilder, how do I implement > a panel's onResize() method? I think the answer is to assign the > panels' ui:field's in FiltersViewImpl.ui.xml and call their onResize() > in my FiltersViewImpl.java. Am I corre

Re: Tips on handling ScrollPanel in UiBuilder

2012-01-05 Thread Thad
idBagLayout, and now this. Makes me long for the days when everyone had one of 3 displays and I could just draw a GUI in ResEdit.) On Jan 4, 7:54 pm, "Aidan O'Kelly" wrote: > Don't give the ScrollPanel an explicit height, as it will get it from the > layer. Generally you s

Re: Tips on handling ScrollPanel in UiBuilder

2012-01-04 Thread Aidan O'Kelly
Don't give the ScrollPanel an explicit height, as it will get it from the layer. Generally you should be setting the top/height/etc attributes on the rather than on the Widget it contains, this is what happens when you call setWidgetTopHeight etc. Do give the 'filters' widget an

Tips on handling ScrollPanel in UiBuilder

2012-01-04 Thread Thad
I'm trying to figure out how to place a view inside a ScrollPanel so some on a laptop can use it but someone with a full screen won't be bothered with scrollbars. My top level looks like this: ... (m

Re: ScrollPanel inside layer of LayoutPanel

2011-12-07 Thread Aidan O'Kelly
On Wed, Dec 7, 2011 at 4:41 PM, Matt S wrote: > ScrollPanel when you have a ResizeCompositeWidget inside? > Also, just to add, if you want the whole page to grow vertically, your content widget should not be ResizeComposites, as they require an explicit size, whereas a regular Composite

Re: ScrollPanel inside layer of LayoutPanel

2011-12-07 Thread Aidan O'Kelly
On Wed, Dec 7, 2011 at 4:41 PM, Matt S wrote: > You stated you could see why it won't work, but did you figure out a > suitable > solution? I have a similar deal - how can we allow a whole-screen scroll > with > ScrollPanel when you have a ResizeCompositeWidget inside? >

Re: ScrollPanel inside layer of LayoutPanel

2011-12-07 Thread Matt S
Aidan O'Kelly writes: > > .. I see why this can't work now.. The child > Widget of ScrollPanel needs an explicit size. Which kinda begs the > question, why does ScrollPanel implement ProvidesResize?! > You stated you could see why it won't work, but did you fig

Re: scrollpanel get event when scroll is visible

2011-12-07 Thread Ashwin Desikan
You can check for the presence of scrollbar / scroll event inside the OnResize method of your Panel. When the layout is resized OnResize method is called. ~Ashwin On Wednesday 07 December 2011 03:38:13 PM IST, Ed wrote: I don't think this is possible. See the Event class for all events. Maybe

Re: scrollpanel get event when scroll is visible

2011-12-07 Thread Ed
I don't think this is possible. See the Event class for all events. Maybe the Event.ONSCROLL event is also thrown when the scroll bar is hidden/shown. Test it. You could do it yourself: a timers that will check every X ms if the scrollbar is shown and throw an event if it changed. - Ed On Dec 7,

scrollpanel get event when scroll is visible

2011-12-07 Thread Genesis Simpleman
Hi, I need some how to know when the scrollbar is visible or not in the scroll panel. I need to get an event when scrollbar is visible or hidden (so i wont need to check it in several places). Is there a way to do it ? -- You received this message because you are subscribed to the Google Groups

Re: ScrollPanel inside layer of LayoutPanel

2011-11-24 Thread agi
Hi, the ScrollPanel will take exactly 100% width and 100% height of the . So in that case (since we have only one layer) also will fill all LayoutPanel. So I will rather ask where is the LayoutPanel? Is it by chance in a table? anyway you can try to set width:100% and height:100% to LayoutPanel

Re: ScrollPanel inside layer of LayoutPanel

2011-11-23 Thread Aidan O'Kelly
Doh, need more coffee.. I see why this can't work now.. The child Widget of ScrollPanel needs an explicit size. Which kinda begs the question, why does ScrollPanel implement ProvidesResize?! On Thu, Nov 24, 2011 at 2:17 AM, Aidan O'Kelly wrote: > A simplified version of a

ScrollPanel inside layer of LayoutPanel

2011-11-23 Thread Aidan O'Kelly
A simplified version of a UiBinder view..: Should this work? Once I add the ScrollPanel, the ResizeCompositeWidget doesn't show anymore. Adding height/width="100%" to the ScrollPanel has no effect. There is a unbroken chain of ProvidesResize/RequiresRes

Re: VerticalPanel inside ScrollPanel inside StackPanel - no scrollbars?

2011-10-20 Thread Craig Mitchell
I enabled scroll bars in a StackLayoutPanel using css as follows: In the ui.xml: @external gwt-StackLayoutPanelContent; .myStackContentStyle .gwt-StackLayoutPanelContent { overflow: auto; border: 1px solid #bb; border-bottom: 0px; background: white; padding: 2px 2px 10px 5px; } ... ... -

Re: ScrollPanel

2011-10-01 Thread Ashwin Desikan
customize a ScrollPanel, and particulary the scrollbar in order to have a beautiful scollbar. For example: remove the 2 buttons for the vertical scrollbar(top and bottom) or change the background color of the scrollbar -- You received this message because you are subscribed to the Google Groups

ScrollPanel

2011-09-30 Thread ELkeke
Hi, I should like to customize a ScrollPanel, and particulary the scrollbar in order to have a beautiful scollbar. For example: remove the 2 buttons for the vertical scrollbar(top and bottom) or change the background color of the scrollbar -- You received this message because you are

Re: ScrollPanel not shoing up!

2011-09-29 Thread suvesh
Well, there are several views so is the need for the inner DockLayoutPannel. Though not sure how usually its done otherwise ? Trying to playaround with as much codeas posssible :-) As a side note I just had to set the size of the ScrollPanel as suggested on GWT developer guideline and it started

Re: ScrollPanel not shoing up!

2011-09-29 Thread Ryan Groten
Why not try putting the view into a DockLayoutPanel itself to separate the header from content? Also may want to consider replacing your mainPanel DockLayoutPanel with something like a SimpleLayoutPanel if it's only going to hold a single view. -- You rece

Re: ScrollPanel not shoing up!

2011-09-29 Thread Sudhakar Abraham
Do not set the size in percentage like(90%) for the widgets inside ScrollPanel. Instead use unit in gwt like (PX, EM ect..). S. Abraham www.DataStoreGwt.com Persist objects directly in GAE On Sep 29, 10:16 am, suvesh wrote: > Greetings, > > I recently started learning GWT and have be

ScrollPanel not shoing up!

2011-09-29 Thread suvesh
Greetings, I recently started learning GWT and have been facing an issue related to ScrollPanel as described below: I have got a DockLayoutPanel added to RootLayoutPanel and at the center of DockLayoutPanel I placed another DockLayoutPanel that I intend to use for diplaying various views by

Re: ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Phineas Gage
Replacing setModal(true) above with setModal(false) works for me and still seems to work in the other browsers. It's hard to say whether that's a bug or not, but setModal(false) avoids it. Many thanks... Pete On Sep 20, 6:17 pm, Jens wrote: > Can you try and use setModal(false) on your PopupPan

Re: ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Jens
I use a PopupPanel with a ScrollPanel that contains somewhere a DisclosurePanel that in turn contains a ScrollPanel in its content area and it works. But I think I had some issues but could not remember which ones. Can you try and use setModal(false) on your PopupPanel? I don't use set

ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Phineas Gage
it doesn't work on, it sometimes begins to scroll for a few pixels but then stops. So far I've tried setting the size on the ScrollPanel explicitly, turning off animation, and using a Grid instead of a FlowPanel for my dialog layout, but I just can't seem to get it to work. Here a

can we make a ScrollPanel do not roll in vertical?

2011-09-13 Thread wahaha
a ScrollPanel,i just want it to scroll in horizontal,do not scroll in vertical,would i? -- 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

Re: Extra Outer ScrollPanel in Firefox

2011-09-02 Thread Michael Allan
Beginner's luck. leslie wrote: > A beautiful thing happens. The extra scroll bars go away and the > ListBox contains it's own vertical scroll bar which functions in the > expected and desired way. > Great stuff. Michael I thank you very much. This is a big help to > me. -- You received this m

Re: Extra Outer ScrollPanel in Firefox

2011-09-01 Thread leslie
istBox list = new ListBox(); > > ScrollPanel scrollpanel = new ScrollPanel( list ); > > VerticalPanel main = new VerticalPanel(); > > main.add( scrollpanel ); > > What happens if you drop the scroll panel, and just add the list box? > > -- > Michael Allan

Re: Extra Outer ScrollPanel in Firefox

2011-08-31 Thread Michael Allan
> ListBox list = new ListBox(); > ScrollPanel scrollpanel = new ScrollPanel( list ); > VerticalPanel main = new VerticalPanel(); > main.add( scrollpanel ); What happens if you drop the scroll panel, and just add the list box? -- Michael Allan Toronto, +1 416-699-9528 http://zelea.c

Extra Outer ScrollPanel in Firefox

2011-08-31 Thread leslie
Mac OS X 10.5 Java 6 GWT 2.3.0 I'm having difficulty with my application rendering in Firefox. I've created a ListBox that will contain names and I've placed it in a ScrollPanel. ListBox list = new ListBox(); ScrollPanel scrollpanel = new ScrollPanel( list ); VerticalP

ScrollPanel : getting a widget scrolled on window simultaneously with scroll

2011-08-27 Thread saurabh saurabh
Hi everyone, I am trying for : 1) A ScrollPanel. 2) As you scroll over (horizontally) one of the widget added to it also scrolls. 3) The widget stays on a particular position in scroll window visible, say Top:Left (50, 50). for example the in figure below the here is label

Re: Datagrid with ScrollPanel

2011-08-17 Thread ciosbel
Sorry, my bad. HasKeyboardPagingPolicy is an interface implemented by CellTable in 2.3 (in 2.4 or in trunk, the inheritance chain in slightly different but still working in the same manner) that defines a *setKeyboardPagingPolicy

Re: Datagrid with ScrollPanel

2011-08-16 Thread Jeff Larsen
Oh cool, I never had need for CellList so I never really played with that example. Thanks! KeyboardPaging seems like the wrong name if it can be used this way. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on

Re: Datagrid with ScrollPanel

2011-08-16 Thread ciosbel
(that extends AbstractPager) that uses an inner ScrollPanel to update the current range once the scrollbar reaches the end. But for the DataGrid should be the same: define the pager, add it to the DataGrid and set the KeyboardPagingPolicy. Live example: http://gwt.google.com/samples/Showcase

Re: Datagrid with ScrollPanel

2011-08-16 Thread Nicolas Antoniazzi
Thanks jeff ! I'm going to try this :) 2011/8/16 Jeff Larsen > HeaderPanel panel = (HeaderPanel) dataGrid.getWidget(); > CustomScrollPanel scrollPanel = (CustomScrollPanel) > panel.getContentWidget(); > -- You received this message because you are subscribed to the Google Gr

Re: Datagrid with ScrollPanel

2011-08-16 Thread Jeff Larsen
Poking in the code of DataGrid, it looks like you could get access to it this way. HeaderPanel panel = (HeaderPanel) dataGrid.getWidget(); CustomScrollPanel scrollPanel = (CustomScrollPanel) panel.getContentWidget(); Admittedly, this isn't very clean, but it looks like it should

Datagrid with ScrollPanel

2011-08-16 Thread Nicolas Antoniazzi
ler on DataGrid, but the ScrollPanel widget is not accessible. Is there a way to get an accessor to this widget? Or does someone know another way to implement such widget ? Thanks, Nicolas. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Re: problems using ScrollPanel and layout panels

2011-07-04 Thread Ioan Agopian
nels). Having solved that I bumped into this inner scrolling problem. >From the layout panels documentation: ScrollPanel... works well in layout panels (see below), which provide it with the explicit size it needs to scroll properly. And below we have this example: Heade

Re: problems using ScrollPanel and layout panels

2011-07-03 Thread Williame
I feel your pain. I've spent hours trying to make my center docklayoutpanel scrollable while at the same time make it replacable by new widgets based on menu choices. Most things worked fine by putting a Scrollpanel in the center block, except TabLayoutPanel put a few level inside it

problems using ScrollPanel and layout panels

2011-07-01 Thread Ioan Agopian
Hi all, I have the following code: Header This DockLayoutPanel is in turn attached to other layout panel who is attached to the root layout

  1   2   3   >