S Scantech Well-Known Member Licensed User Longtime User Saturday at 8:46 PM #1 The x button is slightly offset. Code: Copy Dim ts As Map = Toast.TitleStyle ts.Put("fontSize", 10) Toast.TitleStyle = ts The only changes i did is above code. I adjusted the text with smaller textsize. Attachments Screenshot_20261114_124215.jpg 175.1 KB · Views: 31 Last edited: Saturday at 10:10 PM
The x button is slightly offset. Code: Copy Dim ts As Map = Toast.TitleStyle ts.Put("fontSize", 10) Toast.TitleStyle = ts The only changes i did is above code. I adjusted the text with smaller textsize.
S Scantech Well-Known Member Licensed User Longtime User Saturday at 10:23 PM #2 Code: Copy Dim ic As Map = Toast.Icons ic.Put("close", xui.LoadBitmap(File.DirAssets, "close.png")) Toast.Icons = ic My workaround. Its centered properly with image file. Attachments Screenshot_20261114_142423.jpg 152.4 KB · Views: 20 Upvote 0
Code: Copy Dim ic As Map = Toast.Icons ic.Put("close", xui.LoadBitmap(File.DirAssets, "close.png")) Toast.Icons = ic My workaround. Its centered properly with image file.
Alexander Stolte Expert Licensed User Longtime User Yesterday at 9:17 AM #3 Try this Attachments AS_DynamicToast.b4xlib AS_DynamicToast.b4xlib 13.6 KB · Views: 6 Upvote 0
S Scantech Well-Known Member Licensed User Longtime User Yesterday at 7:39 PM #4 v1.01 is good. Aligned properly. Thanks Attachments Screenshot_20261115_113719.jpg 150.5 KB · Views: 8 Upvote 0