Hi Nkouambia,
Greetings from Syncfusion support.
We have validated your query “Toast Doesn't centralize anymore when set the width” and able to reproduce the issue which is due to the position value X and Y is set with different types. We have logged this as a bug in our end and the fix will be included with our Vol 2 2020 Beta release which is expected on the third week of June.
Until then you can use either predefined values or pixel values, please refer the code snippet below for reference,
Code Snippet:
<SfToast @ref="ToastObj" Title="Adaptive Tiles Meeting" TimeOut=5000 Icon="e-meeting" Width="800" Content="Toast Content">
<ToastPosition X="Center" Y="Bottom"></ToastPosition>
</SfToast> |
Or
<SfToast @ref="ToastObj" Title="Adaptive Tiles Meeting" TimeOut=5000 Icon="e-meeting" Width="800" Content="@ToastContent">
<ToastPosition X="500" Y="500"></ToastPosition>
</SfToast> |
Regards,
Revanth