We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Rotation - Resize

I'm trapping the page resize event and setting the withrequest of the numericupdown to be the new width of the page.

Nothing happens, the width stays the same.

How can I get the width to change?

3 Replies

VA Vanaja  Annasamy Syncfusion Team February 14, 2017 12:24 PM UTC

Hi Pete,

Thank you for contacting Syncfusion support.

Query: WidthRequest not work on SfNumericUpDown

We can resize the width of SfNumericUpDown by enabling HorizontalOption to Center or Start. It has same behavior as Xamarin.Forms Entry control. We have created sample for your reference. Please download the same from the following link.

Link: http://www.syncfusion.com/downloads/support/forum/128862/ze/NumericUpDown-1908963155 

Please let us know whether issue has resolved at you end.

Regards,
Vanaja R.A. 



PS Pete Suffolk February 14, 2017 01:25 PM UTC


Thank you Vanaja.

Adding the HorizontalOptions="Start does allow me to change the width using WidthRequest="200" .

However changing WidthRequest on rotation has no effect at all.

It looks like the first width you choose is the width you get.


VA Vanaja  Annasamy Syncfusion Team February 15, 2017 12:32 PM UTC

Hi Pete,

Query: WidthRequest not change on rotation in SfNumericUpDown

We were able to reproduce the reported issue "WidthRequest not change on rotation in SfNumericUpDown”. at our end. And we have logged a defect report regarding the same. A support incident to track the status of this defect has been created under your account.

Please log on to our support website to check for further updates.

Link: https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/  

Regards,
Vanaja R.A.

Loader.
Up arrow icon