Sunday, September 29, 2013

Re: Best way to Emulate Mobile Tabs using GWT

take a look at how mgwt does it in it's showcase app

It will a combination of using the css3 flex box model and such to achieve the desired layout

On Friday, September 27, 2013 8:52:25 PM UTC+1, Paul Mazzuca wrote:
Many mobile applications have "Tabs" or buttons on the bottom of the View to move from different areas of the application.  Can this be emulated in pure GWT, and if so how would you recommend it?  My initial thought was to use a DockLayoutPanel with the "south" region containing a grid of buttons.  This kinda works, however I then began to think that what I really want is a TabLayoutPanel with the tabs on the bottom, stretched to the width.  Is this even possible in GWT?  After a cursory effort, I am unable to position the tabs on the bottom of the view relative to the tab page, and I am unable to modify the width of the tabs relative to the view.   I tried playing with the gwt-TabLayoutPanel css with no luck.   My other thought is that I need to go lower and use the TabBar and figure out the tab container separately, however I would rather just use the TabLayoutPanel.  Any suggestions would be much appreciated.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment