Hi,
I've found a bug in visualization of BooleanItem on filtereditor as last field. It always aligns to the left and ignores manual setting.
Simple test case:
If you change position of fieldActive2 it works fine, but on last position it does not.
Tested on Chrome and Firefox.
SmartGWT 4.1p (nightly 2014-07-18)
GWT 2.6.0
I've found a bug in visualization of BooleanItem on filtereditor as last field. It always aligns to the left and ignores manual setting.
Simple test case:
Code:
DataSource ds = new DataSource(); ds.setClientOnly(true); ds.addField(new DataSourceTextField("display")); ds.addField(new DataSourceBooleanField("active1")); ds.addField(new DataSourceBooleanField("active2")); ListGrid listGrid = new ListGrid(); listGrid.setWidth100(); listGrid.setHeight100(); listGrid.setDataSource(ds); listGrid.setShowFilterEditor(true); ListGridField fieldActive2 = new ListGridField("active2"); fieldActive2.setAlign(Alignment.CENTER); listGrid.setFields( new ListGridField("active1"), new ListGridField("display"), fieldActive2 ); this.addChild(listGrid);
Tested on Chrome and Firefox.
SmartGWT 4.1p (nightly 2014-07-18)
GWT 2.6.0
Comment