this.ios.sizeToFit() added to the iOS button

This commit is contained in:
Vladimir Enchev
2014-06-13 14:13:37 +03:00
parent 50e0464f1b
commit 52a05f3977

View File

@ -31,6 +31,7 @@ export class Button extends view.View {
public setNativeProperty(data: observable.PropertyChangeData) {
if (data.propertyName === Button.textProperty) {
this.ios.setTitleForState(data.value, UIKit.UIControlState.UIControlStateNormal);
this.ios.sizeToFit();
} else if (true) {
//
}