PDA

View Full Version : Why method setAlignment in class ColumnConfig disappeared in 3.1?



rfrate
14 May 2014, 10:20 PM
Hi,
Why method setAlignment in class ColumnConfig disappeared in 3.1 and is still present in 3.1.beta?

Colin Alworth
19 May 2014, 4:18 PM
To answer the question that started this post, let me direct you to this line in the API changes section of our release notes (http://docs.sencha.com/gxt/3.1/announcements/release_notes.html):




Changed ColumnConfig.setAlignment to ColumnConfig.setHorizontalAlignment



This change also added setVerticalAlignment, giving you more control over the alignment of text in any column. Check out Brandon's G+ post (https://plus.google.com/111739836936169749229/posts/gp7e5vyFraP) that demonstrated this new feature, and the rename that happened to the existing method.