简体   繁体   中英

UWP How to specify width height of Toast notification

Is there any way to control the height or width of toast notification. We have option to set images, buttons with images but is there any way to specify the width or height of any control (button, text, image)?

Thanks

UWP How to specify width height of Toast notification

We could not specify width height of toast, and each toast control has fixed size. The purpose of this is to make the toast look more consistent. Certainly, you could you design the different toast layout base your scenario. And you could use this tool to create toast quickly. Please refer this official document .

A Toast Notification is a message that application UWP can display for the user , with well-defined restrictions and this in order to keep the same UI/UX experience of windows with a Restricted Template .

Toast Notification UX Guidance https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/toast-ux-guidance

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM