Re: TabLayoutPanel with scroll buttons

2014-04-16 Thread Igor
scroll buttons if necessary. * https://groups.google.com/forum/?fromgroups=#!topic/google-web-toolkit/wN8lLU23wPA */ public class ScrollableTabLayoutPanel extends TabLayoutPanel { private static final String SCROLL_BUTTON_STYLE = gwt-TabLayoutPanelScrollButton; private static final String

Re: TabLayoutPanel with scroll buttons

2013-04-11 Thread Philippe Lhoste
By popular demand (my own taste, and a request of a tester), I hide a button when we can no longer scroll in this direction... I replaced the hackish test: if (scrollRightButton.isVisible()) with a specialized field: private boolean isScrolling; The following are the added / modified

Re: TabLayoutPanel with scroll buttons

2013-04-08 Thread Philippe Lhoste
com.google.gwt.user.client.ui.Widget; /** * A {@link TabLayoutPanel} that shows scroll buttons if necessary. * https://groups.google.com/forum/?fromgroups=#!topic/google-web-toolkit/wN8lLU23wPA */ public class ScrollableTabLayoutPanel extends TabLayoutPanel { private static final String

Re: TabLayoutPanel with scroll buttons

2013-04-03 Thread PhiLho
com.google.gwt.user.client.ui.Widget; /** * A {@link TabLayoutPanel} that shows scroll buttons if necessary. * https://groups.google.com/forum/?fromgroups=#!topic/google-web-toolkit/wN8lLU23wPA */ public class ScrollableTabLayoutPanel extends TabLayoutPanel { private static final int IMAGE_PADDING_PIXELS

Re: TabLayoutPanel with scroll buttons

2012-09-25 Thread sana ben aissa
please can you show me how to use it , i coudn't even test it ! -- 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/-/RUADpqouugoJ. To post to this

Re: TabLayoutPanel with scroll buttons

2012-09-25 Thread sana ben aissa
hi , please can help me understand what do you mean by saying You should be able to wrap it into a Composite and then reference that Composite in your UiBinder file though. ?? and i m searching for a widget that can help me do this

Re: TabLayoutPanel with scroll buttons

2011-02-24 Thread Eze
com.google.gwt.event.logical.shared.SelectionHandler; import com.google.gwt.event.shared.HandlerRegistration; import com.google.gwt.resources.client.ImageResource; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.*; /** * A {@link TabLayoutPanel} that shows scroll buttons

Re: TabLayoutPanel with scroll buttons

2010-05-31 Thread Matt
Hi, you won't be able to use this custom widget directly within an UiBinder file due to this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=4342. You should be able to wrap it into a Composite and then reference that Composite in your UiBinder file though. Hth, Matt On 18

Re: TabLayoutPanel with scroll buttons

2010-05-18 Thread rkvaja
I'm trying to use this with UIBinder but getting issues telling me that I am missing required attributes barUnit, barHeight etc. Has anybody got this working with UIBinder? You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: TabLayoutPanel with scroll buttons

2010-05-15 Thread dayre
Awesome. This saved me a few days work ! Thank you ! Small error, forgot to initialize the local image vars in the constructor though: ... super(barHeight, barUnit); this.leftArrowImage = leftArrowImage; this.rightArrowImage = rightArrowImage;

TabLayoutPanel with scroll buttons

2010-05-06 Thread Matt
Hi, the GWT TabLayoutPanel doesn't show scroll buttons if the visible panel bar becomes smaller then width of all open tab headers. There is an enhacement request issue pending that might be implemented in a future version of GWT, until then you might find the attached code snippet useful