XAM-Consulting / FreshEssentials

FreshEssentials for Xamarin.Forms has ONLY the most common extensions you need for Xamarin.Forms
Apache License 2.0
107 stars 30 forks source link

Setting AdvancedFrame.WidthRequest = 100 on constructor prevents to use it when you need it to fit it's content #17

Closed ederbond closed 8 years ago

ederbond commented 8 years ago

Let's supose you have a label that needs to be involved by a frame with rounded corners. Since you are setting the frame WidthRequest = 100 on AdvancedFrame's contructor, it prevents the frame to auto ajust its with base on the value of its content (chield element); Please stop to set this property on AdvancedFrame constructor.

Try the example below. The original Xamarin.Forms Frame fits the label correctly while the AdvancedFrame doesn't...

`

jessejiang0214 commented 8 years ago

Fixed b41977b5eb1660d23982d2c0e8e67cf0db783812

ederbond commented 8 years ago

Thanks a lot guys.