1. Configure MGWT without themes (don't use <inherits
name='com.googlecode.mgwt.ui.client.theme.platform.Platform'/>)
2. RootPanel.get().add(new MCheckBox(new MCheckBoxIOSAppearance()));
Problem: The Widget is a combination of default- and iOS-theme (MGWT
2.0.0-beta2) but should be iOS-theme
The reason for this seems to be, that the UIBinder template uses <ui:with
field="apperance"
type="com.googlecode.mgwt.ui.client.widget.input.checkbox.MCheckBoxAppearance"
/> (this is also done in other widgets UIBinder templates). Therefore
MCheckBoxDefaultAppearance (deferred binding) is used within the UIBinder
template but the MCheckBox constructor is called with MCheckBoxIOSAppearance.
Possible solution: Use provided=true in combination with the UiBinder template.
Original issue reported on code.google.com by raphael....@gmail.com on 9 Aug 2014 at 7:14
Original issue reported on code.google.com by
raphael....@gmail.com
on 9 Aug 2014 at 7:14