From 52a05f3977eb2f230902147f2bddc6f6985dffb5 Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Fri, 13 Jun 2014 14:13:37 +0300 Subject: [PATCH] this.ios.sizeToFit() added to the iOS button --- ui/button/button.ios.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/button/button.ios.ts b/ui/button/button.ios.ts index fe4f8868b..c4eecfc01 100644 --- a/ui/button/button.ios.ts +++ b/ui/button/button.ios.ts @@ -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) { // }