toast height has to have the value "auto".

Mar 17, 2015 at 9:36 AM
Edited Mar 17, 2015 at 9:40 AM
Why is there no support for the height of the toast being assigned automatically if the height for the toast is not specified.

Use-case:
We use the toast to display the error messages of a network call. The error message can be of any length. In this case height cannot be set in XAML as it can be varying. If the error message is about 3 lines then it some part is cut as the height is not specified. If height can be auto, it serves the purpose. For now we are editing the source code and using it.
Mar 17, 2015 at 11:15 AM
You are right !
It has to be done this way (auto fit the content).

I will fix the problem as soon as possible (this week).
Let you know.
Mar 17, 2015 at 11:36 AM
GDM wrote:
You are right !
It has to be done this way (auto fit the content).

I will fix the problem as soon as possible (this week).
Let you know.
Thank you for your response.
Apr 14, 2015 at 3:27 PM
Hello,

The auto height is now implemented.
Sorry for the delay.

I added a ContentPresenter to the control, that means you can now set your own content, overriding the default one with logo & title.

Hope you'll enjoy it.

Guillaume