S Scantech Well-Known Member Licensed User Longtime User Nov 14, 2026 #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: 60 Last edited: Nov 14, 2026
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 Nov 14, 2026 #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: 51 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 Nov 15, 2026 #3 Try this Attachments AS_DynamicToast.b4xlib AS_DynamicToast.b4xlib 13.6 KB · Views: 43 Upvote 0
S Scantech Well-Known Member Licensed User Longtime User Nov 15, 2026 #4 v1.01 is good. Aligned properly. Thanks Attachments Screenshot_20261115_113719.jpg 150.5 KB · Views: 42 Upvote 0