mgwt 2.0 Features

kfa edited this page Sep 23, 2014 · 2 revisions

Appearance pattern

The appearance pattern was introduced with mgwt 2.0 and replaces the old way of styling. More information about the appearance pattern are here.

New default theme and new platform themes

mgwt 2.0 provides a simple and clear default theme that is easily customizable. Also the platform themes for Android and iOS have been updated. Details see here.

Added ImageButton and removed HeaderButton

mgwt 2.0 comes with about 140 buttons with different images and with an easy way to customize these images. Here are details about how to use them.

CSS Updater

The CSS Updater allows applications to change their styling without reloading the application. This gives instant feedback while changing the theme of an mgwt application.

Added RootFlexPanel and renamed LayoutPanel to FlexPanel

mgwt 2.0 now better supports the flexible box model. Details are here

Renamed the class Animation to Animations

The access to specific animations is now done with


instead of


AnimationWidget replaces AnimatableDisplay

Old way:

AnimatableDisplay display = GWT.create(AnimatableDisplay.class);

New way:

AnimationWidget display = new AnimationWidget();

Removed iOS gloss

mgwt 2.0 does not have the iOS gloss anymore:


New binding and configuration properties

mgwt 2.0 has following binding proeprties:

  • mgwt.formfactor - defined by mgwt to distinguish between different screen sized of devices
  • mgwt.density - defined by mgwt to distinguish between different pixel density of screens
  • user.agent - defined by GWT for different browsers

Details are here

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.